From 07e5327ab2f0c1571ffd30746627a6aa69f35751 Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Fri, 8 Nov 2024 03:56:09 +0800 Subject: [PATCH] WASM build via Emscripten on GitHub workflow pipeline action. --- .github/workflows/build_ci_wasm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_ci_wasm.yml b/.github/workflows/build_ci_wasm.yml index b3c7a39..c8d084b 100644 --- a/.github/workflows/build_ci_wasm.yml +++ b/.github/workflows/build_ci_wasm.yml @@ -26,7 +26,7 @@ jobs: - name: Build WASM run: | mkdir dist - em++ --bind -Wno-header-guard -Iinclude -pipe -O3 -ffast-math -std=c++17 -funroll-loops $(find src -type f -name "*.cpp") -sEXPORTED_FUNCTIONS=_executeSource -sEXPORTED_RUNTIME_METHODS=ccall,cwrap -o dist\n8.js + em++ --bind -Wno-header-guard -Iinclude -pipe -O3 -ffast-math -std=c++17 -funroll-loops $(find src -type f -name "*.cpp") -sEXPORTED_FUNCTIONS=_executeSource -sEXPORTED_RUNTIME_METHODS=ccall,cwrap -o dist/n8.js ls -ral dist - name: Upload dist folder