Skip to content

Commit

Permalink
meson CI: remove static build
Browse files Browse the repository at this point in the history
There's no need for it anymore. All static bugs (mostly on Windows)
were fixed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb committed Mar 23, 2023
1 parent aef4f19 commit af60493
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/on_PR_meson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ concurrency:
jobs:
Ubuntu:
runs-on: ubuntu-20.04
name: Linux-GCC${{matrix.cxx}}-${{matrix.deps}}-${{matrix.type}}
name: Linux-GCC${{matrix.cxx}}-${{matrix.deps}}
strategy:
matrix:
cxx: ['7', '8', '9', '10']
deps: ['forcefallback', 'default']
type: ['shared', 'static']
steps:
- uses: actions/checkout@v3

Expand All @@ -27,18 +26,17 @@ jobs:
env:
CXX: g++-${{matrix.cxx}}
run: |
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}} -Dwarning_level=3
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Dwarning_level=3
meson compile -C "${{github.workspace}}/build" --verbose
meson test -C "${{github.workspace}}/build" --verbose
VisualStudio:
runs-on: windows-latest
name: MSVC-${{matrix.deps}}-${{matrix.type}}-${{matrix.platform}}
name: MSVC-${{matrix.deps}}-${{matrix.platform}}
strategy:
matrix:
deps: ['forcefallback', 'default']
platform: ['x64', 'x86']
type: ['shared', 'static']
steps:
- uses: actions/checkout@v3

Expand All @@ -54,17 +52,16 @@ jobs:
env:
CXXFLAGS: '/analyze'
run: |
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}} -Dwarning_level=3 -Dcpp_std=c++latest
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Dwarning_level=3 -Dcpp_std=c++latest
meson compile -C "${{github.workspace}}/build" --verbose
meson test -C "${{github.workspace}}/build" --verbose
MacOS:
runs-on: macos-latest
name: macOS-${{matrix.deps}}-${{matrix.type}}
name: macOS-${{matrix.deps}}
strategy:
matrix:
deps: ['forcefallback', 'default']
type: ['shared', 'static']
steps:
- uses: actions/checkout@v3

Expand All @@ -74,7 +71,7 @@ jobs:
- name: Compile and Test
run: |
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}} -Dwarning_level=3 -Dcpp_std=c++20
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Dwarning_level=3 -Dcpp_std=c++20
meson compile -C "${{github.workspace}}/build" --verbose
meson test -C "${{github.workspace}}/build" --verbose
FreeBSD:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/on_PR_meson_clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ concurrency:
jobs:
Ubuntu:
runs-on: ubuntu-20.04
name: Linux-Clang${{matrix.cxx}}-${{matrix.deps}}-${{matrix.type}}
name: Linux-Clang${{matrix.cxx}}-${{matrix.deps}}
strategy:
matrix:
cxx: ['7', '8', '9', '10', '12']
deps: ['forcefallback', 'default']
type: ['shared', 'static']
steps:
- uses: actions/checkout@v3

Expand All @@ -29,6 +28,6 @@ jobs:
CXXFLAGS: -stdlib=libc++
CXX_LD: lld-${{matrix.cxx}}
run: |
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}} -Dwarning_level=3 -Dcpp_std=c++20
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Dwarning_level=3 -Dcpp_std=c++20
meson compile -C "${{github.workspace}}/build" --verbose
meson test -C "${{github.workspace}}/build" --verbose

0 comments on commit af60493

Please sign in to comment.