diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1cad004c8..374298bca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -76,9 +76,6 @@ jobs: CC: clang CXX: clang++ CXXFLAGS: "-fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address" - ASAN_OPTIONS: check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1 - UBSAN_OPTIONS: print_stacktrace=1:report_error_type=1 - LSAN_OPTIONS: verbosity=1:log_threads=1 run: | mkdir build && cd build cmake .. @@ -86,6 +83,10 @@ jobs: run: | make - name: make test + env: + ASAN_OPTIONS: check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1 + UBSAN_OPTIONS: print_stacktrace=1:report_error_type=1 + LSAN_OPTIONS: verbosity=1:log_threads=1 run: | make test