Skip to content

Commit

Permalink
Add halt_on_error to sanitizer options
Browse files Browse the repository at this point in the history
  • Loading branch information
friendlyanon committed Apr 13, 2024
1 parent 41943cd commit deee022
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake-init/templates/common/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,10 @@ jobs:
detect_stack_use_after_return=1:\
check_initialization_order=1:\
strict_init_order=1:\
detect_leaks=1"
UBSAN_OPTIONS: print_stacktrace=1
detect_leaks=1:\
halt_on_error=1"
UBSAN_OPTIONS: "print_stacktrace=1:\
halt_on_error=1"
run: ctest --output-on-failure --no-tests=error -j 2

test:
Expand Down

0 comments on commit deee022

Please sign in to comment.