Skip to content

Commit 98585e8

Browse files
mcbartonvgvassilev
authored andcommitted
Treat all warnings as errors Emscripten build
1 parent 9e2abcb commit 98585e8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/deploy-github-page.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
6262
-DCMAKE_FIND_ROOT_PATH=$PREFIX \
6363
-DSYSROOT_PATH=$SYSROOT_PATH \
64+
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
6465
..
6566
emmake make -j ${{ env.ncpus }} install
6667

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ jobs:
244244
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
245245
-DCMAKE_FIND_ROOT_PATH=$PREFIX \
246246
-DSYSROOT_PATH=$SYSROOT_PATH \
247+
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
247248
..
248249
emmake make -j ${{ env.ncpus }} install
249250

0 commit comments

Comments
 (0)