Skip to content

Commit

Permalink
Add ThreadSanitizer
Browse files Browse the repository at this point in the history
  • Loading branch information
wantehchang committed Mar 26, 2024
1 parent 3cc0772 commit 374e622
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-unix-static-sanitized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
sanitizer: [ address, undefined ] # TODO(yguyon): Add memory, thread
sanitizer: [ address, thread, undefined ] # TODO(yguyon): Add memory

env:
CC: clang
Expand Down Expand Up @@ -92,3 +92,4 @@ jobs:
run: ctest -j $(getconf _NPROCESSORS_ONLN) --output-on-failure
env:
ASAN_OPTIONS: allocator_may_return_null=1
TSAN_OPTIONS: allocator_may_return_null=1

0 comments on commit 374e622

Please sign in to comment.