Skip to content

Commit dbea8fa

Browse files
committed
Update CI script so it compiles in debug mode
1 parent 95a609e commit dbea8fa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ jobs:
9898
shell: bash
9999
run: make -j4 THREAD_MODEL=posix
100100

101+
- name: Build libc + threads in debug mode
102+
# There are features like stack boundary exposure that
103+
# only compile in debug mode (i.e. when NDEBUG is not defined).
104+
if: matrix.clang_version != '10.0.0'
105+
shell: bash
106+
run: make -j4 THREAD_MODEL=posix EXTRA_CFLAGS=
107+
101108
# Disable the headerstest job for now, while WASI transitions from the
102109
# witx snapshots to wit proposals, and we have a few manual edits to the
103110
# generated header to make life easier for folks.

0 commit comments

Comments
 (0)