diff --git a/.github/workflows/emscripten.yml b/.github/workflows/emscripten.yml index d6f512925..db142af80 100644 --- a/.github/workflows/emscripten.yml +++ b/.github/workflows/emscripten.yml @@ -705,11 +705,7 @@ jobs: ../ fi os="${{ matrix.os }}" - if [[ "${os}" != macos* ]] ; then - EMCC_CORES=1 emmake make -j 1 check-cppinterop - else - EMCC_CORES=2 emmake make -j 2 check-cppinterop - fi + emmake make -j ${{ env.ncpus }} check-cppinterop cd ./unittests/CppInterOp/ # Explaination of options for emrun # --browser (name of browser on path)