Skip to content

Commit

Permalink
ci: enable ASAN for gcc (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc authored Apr 8, 2024
1 parent c34bd4a commit f79ef54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
# sanitizer: [ none, thread, undefined ]
sanitizer: [ none, undefined ]
sanitizer: [ none, address, undefined ]
buildtype: [ release, debug ]
ndebug: [ "true", "false" ]

Expand Down
6 changes: 5 additions & 1 deletion libnixt/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,8 @@ libnixt_test_exe = executable(
dependencies: [ gtest_main, nixt ]
)

test('unit/libnixt', libnixt_test_exe)
test(
'unit/libnixt',
libnixt_test_exe,
env: [ 'ASAN_OPTIONS=detect_leaks=0']
)

0 comments on commit f79ef54

Please sign in to comment.