Skip to content

Commit 7316569

Browse files
authored
Partially lift restrictions on number of processes to build Emscripten static library in ci
1 parent f59bd27 commit 7316569

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/emscripten.yml

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

0 commit comments

Comments
 (0)