We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00857fe commit f38b5a2Copy full SHA for f38b5a2
1 file changed
.github/workflows/test.yml
@@ -317,7 +317,7 @@ jobs:
317
# --- NVHPC build + test ---
318
- name: Build (NVHPC)
319
if: matrix.nvhpc
320
- run: /bin/bash mfc.sh test -v --dry-run -j $(nproc) --test-all $GPU
+ run: /bin/bash mfc.sh test -v --dry-run -j ${{ matrix.target == 'cpu' && '$(nproc)' || '2' }} --test-all $GPU
321
env:
322
GPU: ${{ matrix.target == 'gpu-acc' && '--gpu acc' || matrix.target == 'gpu-omp' && '--gpu mp' || '' }}
323
0 commit comments