meson CI: test static library as well
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
13e6671de2
commit
84c3c4758a
9
.github/workflows/on_PR_meson.yaml
vendored
9
.github/workflows/on_PR_meson.yaml
vendored
@ -14,6 +14,7 @@ jobs:
|
||||
matrix:
|
||||
cxx: ['7', '8', '9']
|
||||
deps: ['forcefallback', 'default']
|
||||
type: ['shared', 'static']
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@ -24,7 +25,7 @@ jobs:
|
||||
|
||||
- name: Sanity Checks
|
||||
run: |
|
||||
env CXX=g++-${{matrix.cxx}} meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}}
|
||||
env CXX=g++-${{matrix.cxx}} meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}}
|
||||
meson compile -C "${{github.workspace}}/build"
|
||||
|
||||
VisualStudio:
|
||||
@ -33,6 +34,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
deps: ['forcefallback', 'default']
|
||||
type: ['shared', 'static']
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@ -43,7 +45,7 @@ jobs:
|
||||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Sanity Checks
|
||||
run: |
|
||||
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}}
|
||||
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}}
|
||||
meson compile -C "${{github.workspace}}/build"
|
||||
|
||||
MacOS:
|
||||
@ -52,6 +54,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
deps: ['forcefallback', 'default']
|
||||
type: ['shared', 'static']
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
@ -61,5 +64,5 @@ jobs:
|
||||
|
||||
- name: Compile
|
||||
run: |
|
||||
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}}
|
||||
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}}
|
||||
meson compile -C "${{github.workspace}}/build"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user