Skip to content

Commit c2d44d4

Browse files
committed
Fix number of jobs
1 parent a1b8f00 commit c2d44d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/test.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ cabal run -w "ghc-${GHC_TEST_VERSION}" ${ADD_CABAL_ARGS} cabal-testsuite:cabal-t
3030
--intree-cabal-lib "$(pwd)" \
3131
--test-tmp "$(pwd)/testdb" \
3232
--skip-setup-tests \
33-
-j "$(nproc)"
33+
-j "$(nproc || sysctl -n hw.ncpu || getconf _NPROCESSORS_ONLN || echo 1)"
3434

0 commit comments

Comments
 (0)