Add ThreadSanitizer
diff --git a/.github/workflows/ci-unix-static-sanitized.yml b/.github/workflows/ci-unix-static-sanitized.yml
index fdf15e8..6894e06 100644
--- a/.github/workflows/ci-unix-static-sanitized.yml
+++ b/.github/workflows/ci-unix-static-sanitized.yml
@@ -11,7 +11,7 @@
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
@@ -92,3 +92,4 @@
run: ctest -j $(getconf _NPROCESSORS_ONLN) --output-on-failure
env:
ASAN_OPTIONS: allocator_may_return_null=1
+ TSAN_OPTIONS: allocator_may_return_null=1