mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 10:17:16 +02:00
Fix sanitizer selection
This commit is contained in:
parent
67f8453586
commit
1b432dbae7
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -63,7 +63,7 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- sanitizer: asan
|
- sanitizer: asan
|
||||||
param: "ASAN=ON"
|
param: "ASAN=ON"
|
||||||
- compiler: tsan
|
- sanitizer: tsan
|
||||||
param: "TSAN=ON"
|
param: "TSAN=ON"
|
||||||
|
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
|
@ -64,7 +64,7 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ASAN)
|
if(ASAN)
|
||||||
add_compile_options(-fsanitize=address -Wno-error=tsan)
|
add_compile_options(-fsanitize=address)
|
||||||
add_link_options(-fsanitize=address)
|
add_link_options(-fsanitize=address)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue