Skip to content

Commit

Permalink
Also run compiler tests in CI with -DNDEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
tekknolagi committed Dec 26, 2024
1 parent e33e855 commit 2ca4368
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
run: sudo apt install --yes ${{matrix.PYTHON}} ${{matrix.CC}} valgrind
- name: Run compiler tests
run: CC=${{matrix.CC}} CFLAGS="${{matrix.USE_STATIC_HEAP}}" ${{matrix.PYTHON}} compiler_tests.py
- name: Run compiler tests -DNDEBUG
run: CC=${{matrix.CC}} CFLAGS="${{matrix.USE_STATIC_HEAP}} -DNDEBUG" ${{matrix.PYTHON}} compiler_tests.py
- name: Run compiler tests with ASAN
run: CC=${{matrix.CC}} CFLAGS="-fsanitize=address ${{matrix.USE_STATIC_HEAP}}" ${{matrix.PYTHON}} compiler_tests.py
- name: Run compiler tests with UBSAN
Expand Down

0 comments on commit 2ca4368

Please sign in to comment.