Skip to content

Commit

Permalink
CI: Add various sanitizers to debug build + tests
Browse files Browse the repository at this point in the history
This commit extends the native debug tests in the CI to enable
the address and undefined-behaviour sanitizers in GCC.

Signed-off-by: Hanno Becker <[email protected]>
  • Loading branch information
hanno-becker committed Oct 30, 2024
1 parent d22d7e7 commit 1a31aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ jobs:
func: true
nistkat: true
kat: true
- name: native tests (+debug)
- name: native tests (+debug+memsan+ubsan)
uses: ./.github/actions/multi-functest
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
compile_mode: native
cflags: "-DMLKEM_DEBUG"
cflags: "-DMLKEM_DEBUG -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all"
- name: cross tests (opt only)
uses: ./.github/actions/multi-functest
if: ${{ matrix.target.runner != 'macos-latest' && (success() || failure()) }}
Expand Down

0 comments on commit 1a31aec

Please sign in to comment.