Skip to content

Commit 9bdb911

Browse files
authored
Don't treat warnings as errors wasm
1 parent 13e8d01 commit 9bdb911

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,9 @@ jobs:
227227
-DCMAKE_INSTALL_PREFIX=$PREFIX \
228228
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
229229
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
230+
-DCMAKE_COMPILE_WARNING_AS_ERROR=false \
230231
..
231-
emmake make -j ${{ env.ncpus }}
232+
EMCC_CFLAGS='-sERROR_ON_UNDEFINED_SYMBOLS=0' emmake make -j ${{ env.ncpus }}
232233
233234
- name: Setup tmate session
234235
if: ${{ failure() && runner.debug }}

0 commit comments

Comments
 (0)