We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acabcd4 commit eed8f37Copy full SHA for eed8f37
.github/workflows/test.yml
@@ -20,7 +20,9 @@ jobs:
20
21
steps:
22
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
23
+ - name: Determine number of available hardware threads
24
+ run: echo "NUM_THREADS=$(nproc || sysctl -n hw.ncpu)" >> $GITHUB_ENV
25
- name: Test Exercises
26
env:
27
CC: ${{ matrix.compiler }}
- run: make -j $(nproc)
28
+ run: make -j ${{ env.NUM_THREADS }}
0 commit comments