Skip to content

Commit 1e13dfe

Browse files
authored
Remove restriction on number of processes for Emscripten static library build on Linux/MacOS Github runners
1 parent 0b1271a commit 1e13dfe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/emscripten.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -705,11 +705,7 @@ jobs:
705705
../
706706
fi
707707
os="${{ matrix.os }}"
708-
if [[ "${os}" != macos* ]] ; then
709-
EMCC_CORES=1 emmake make -j 1 check-cppinterop
710-
else
711-
EMCC_CORES=2 emmake make -j 2 check-cppinterop
712-
fi
708+
emmake make -j ${{ env.ncpus }} check-cppinterop
713709
cd ./unittests/CppInterOp/
714710
# Explaination of options for emrun
715711
# --browser (name of browser on path)

0 commit comments

Comments
 (0)