meson: move warning/sanitizer stuff to CI
No need when building normally. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
9f21b78311
commit
c5c8a6101e
6
.github/workflows/on_PR_meson.yaml
vendored
6
.github/workflows/on_PR_meson.yaml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
|
||||
- name: Sanity Checks
|
||||
run: |
|
||||
env CXX=g++-${{matrix.cxx}} meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}}
|
||||
env CXX=g++-${{matrix.cxx}} meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}} -Dwarning_level=3
|
||||
meson compile -C "${{github.workspace}}/build" --verbose
|
||||
meson test -C "${{github.workspace}}/build" --verbose
|
||||
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
- name: Sanity Checks
|
||||
run: |
|
||||
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}}
|
||||
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}} -Dwarning_level=3
|
||||
meson compile -C "${{github.workspace}}/build" --verbose
|
||||
meson test -C "${{github.workspace}}/build" --verbose
|
||||
|
||||
@ -66,6 +66,6 @@ jobs:
|
||||
|
||||
- name: Compile
|
||||
run: |
|
||||
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}}
|
||||
meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}} -Dwarning_level=3
|
||||
meson compile -C "${{github.workspace}}/build" --verbose
|
||||
meson test -C "${{github.workspace}}/build" --verbose
|
||||
|
||||
2
.github/workflows/on_PR_meson_clang.yaml
vendored
2
.github/workflows/on_PR_meson_clang.yaml
vendored
@ -25,6 +25,6 @@ jobs:
|
||||
|
||||
- name: Sanity Checks
|
||||
run: |
|
||||
env CXX=clang++-${{matrix.cxx}} CXXFLAGS=-stdlib=libc++ meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}}
|
||||
env CXX=clang++-${{matrix.cxx}} CXXFLAGS=-stdlib=libc++ meson setup "${{github.workspace}}/build" --wrap-mode=${{matrix.deps}} -Ddefault_library=${{matrix.type}} -Dwarning_level=3
|
||||
meson compile -C "${{github.workspace}}/build" --verbose
|
||||
meson test -C "${{github.workspace}}/build" --verbose
|
||||
|
||||
@ -3,7 +3,7 @@ project(
|
||||
'cpp',
|
||||
version: '1.0.0',
|
||||
meson_version: '>=0.49.0',
|
||||
default_options: ['warning_level=3', 'cpp_std=c++17'],
|
||||
default_options: ['warning_level=0', 'cpp_std=c++17'],
|
||||
)
|
||||
|
||||
cargs = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user