From cb76e5cd81312e4dba52a06cfc6bc35f795e05bb Mon Sep 17 00:00:00 2001 From: Changqing Jing Date: Sat, 20 Jan 2024 13:30:47 +0800 Subject: Fix emscripten build warning and add missing export (#2367) --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.github') 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 -- cgit v1.2.3