Skip to content

Commit deee022

Browse files
committed
Add halt_on_error to sanitizer options
1 parent 41943cd commit deee022

File tree

1 file changed

+4
-2
lines changed
  • cmake-init/templates/common/.github/workflows

1 file changed

+4
-2
lines changed

cmake-init/templates/common/.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,10 @@ jobs:
126126
detect_stack_use_after_return=1:\
127127
check_initialization_order=1:\
128128
strict_init_order=1:\
129-
detect_leaks=1"
130-
UBSAN_OPTIONS: print_stacktrace=1
129+
detect_leaks=1:\
130+
halt_on_error=1"
131+
UBSAN_OPTIONS: "print_stacktrace=1:\
132+
halt_on_error=1"
131133
run: ctest --output-on-failure --no-tests=error -j 2
132134

133135
test:

0 commit comments

Comments
 (0)