mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 09:47:09 +02:00
Allow warnings for sanitizers
This commit is contained in:
parent
b0463fdd0c
commit
d7ddfc8b88
2 changed files with 3 additions and 3 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -129,7 +129,7 @@ jobs:
|
|||
- name: configure
|
||||
run: |
|
||||
cmake -S . -B build \
|
||||
-DWERROR=ON \
|
||||
-DWERROR=OFF \
|
||||
-DBUILD_TESTS=ON \
|
||||
-D${{ matrix.param }} \
|
||||
-DBOOST_ROOT=boost_${BOOST_VERSION} \
|
||||
|
|
|
@ -69,12 +69,12 @@ else()
|
|||
endif()
|
||||
|
||||
if(ASAN)
|
||||
add_compile_options(-fsanitize=address -Wno-error=maybe-uninitialized)
|
||||
add_compile_options(-fsanitize=address)
|
||||
add_link_options(-fsanitize=address)
|
||||
endif()
|
||||
|
||||
if(TSAN)
|
||||
add_compile_options(-fsanitize=thread -Wno-error=tsan)
|
||||
add_compile_options(-fsanitize=thread)
|
||||
add_link_options(-fsanitize=thread)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue