summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorChangqing Jing <changqing.jing@bmw.com>2024-01-20 13:30:47 +0800
committerGitHub <noreply@github.com>2024-01-19 21:30:47 -0800
commitcb76e5cd81312e4dba52a06cfc6bc35f795e05bb (patch)
treeabc6a7e805c72b0f0f7f0123c53d45e2f4d82c3f /.github
parent0c3b5ac16daf929ca018ad3cdac08123b4d2bedc (diff)
downloadwabt-cb76e5cd81312e4dba52a06cfc6bc35f795e05bb.tar.gz
wabt-cb76e5cd81312e4dba52a06cfc6bc35f795e05bb.tar.bz2
wabt-cb76e5cd81312e4dba52a06cfc6bc35f795e05bb.zip
Fix emscripten build warning and add missing export (#2367)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2b086ccf..cf0b710f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -78,8 +78,9 @@ jobs:
run: |
docker run -di --name emscripten -v $(pwd):/src emscripten/emsdk:latest bash
docker exec emscripten emcc -v
- docker exec emscripten emcmake cmake .
- docker exec emscripten make -j 2 VERBOSE=1
+ docker exec emscripten emcmake cmake -B emscripten -DWERROR=ON
+ docker exec -w /src/emscripten emscripten make -j $(nproc)
+
wasi:
name: wasi
runs-on: ubuntu-latest