Skip to content

Commit b5471f7

Browse files
committed
ci: report leaks but do not fail
Signed-off-by: Christian Göttsche <[email protected]>
1 parent e003913 commit b5471f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/run_tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,9 @@ jobs:
9494
elif [ "${{ matrix.python-ruby-version.other }}" = "sanitizers" ] ; then
9595
sanitizers='-fsanitize=address,undefined'
9696
EXPLICIT_MAKE_VARS="CFLAGS='-g -I$DESTDIR/usr/include $sanitizers' LDFLAGS='-L$DESTDIR/usr/lib $sanitizers' LDLIBS= CPPFLAGS= OPT_SUBDIRS="
97-
echo "ASAN_OPTIONS=detect_leaks=0:strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1" >> $GITHUB_ENV
97+
echo "ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1" >> $GITHUB_ENV
9898
echo "UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1" >> $GITHUB_ENV
99+
echo "LSAN_OPTIONS=exitcode=0" >> $GITHUB_ENV
99100
else
100101
EXPLICIT_MAKE_VARS=
101102
fi

0 commit comments

Comments
 (0)