Skip to content

Commit 2ca4368

Browse files
committed
Also run compiler tests in CI with -DNDEBUG
1 parent e33e855 commit 2ca4368

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
run: sudo apt install --yes ${{matrix.PYTHON}} ${{matrix.CC}} valgrind
6262
- name: Run compiler tests
6363
run: CC=${{matrix.CC}} CFLAGS="${{matrix.USE_STATIC_HEAP}}" ${{matrix.PYTHON}} compiler_tests.py
64+
- name: Run compiler tests -DNDEBUG
65+
run: CC=${{matrix.CC}} CFLAGS="${{matrix.USE_STATIC_HEAP}} -DNDEBUG" ${{matrix.PYTHON}} compiler_tests.py
6466
- name: Run compiler tests with ASAN
6567
run: CC=${{matrix.CC}} CFLAGS="-fsanitize=address ${{matrix.USE_STATIC_HEAP}}" ${{matrix.PYTHON}} compiler_tests.py
6668
- name: Run compiler tests with UBSAN

0 commit comments

Comments
 (0)