Skip to content

Commit 26572fb

Browse files
committed
ci: use single-CUDA Docker tags for NVHPC to fit runner disk
1 parent 7da6212 commit 26572fb

1 file changed

Lines changed: 33 additions & 31 deletions

File tree

.github/workflows/test.yml

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -179,42 +179,44 @@ jobs:
179179

180180
# NVHPC compiler matrix: cpu (build+test), gpu (build-only, acc then omp)
181181
# Every release from 23.11 through 26.3 (current)
182-
- { nvhpc: '23.11', target: cpu }
183-
- { nvhpc: '23.11', target: gpu }
184-
- { nvhpc: '24.1', target: cpu }
185-
- { nvhpc: '24.1', target: gpu }
186-
- { nvhpc: '24.3', target: cpu }
187-
- { nvhpc: '24.3', target: gpu }
188-
- { nvhpc: '24.5', target: cpu }
189-
- { nvhpc: '24.5', target: gpu }
190-
- { nvhpc: '24.7', target: cpu }
191-
- { nvhpc: '24.7', target: gpu }
192-
- { nvhpc: '24.9', target: cpu }
193-
- { nvhpc: '24.9', target: gpu }
194-
- { nvhpc: '24.11', target: cpu }
195-
- { nvhpc: '24.11', target: gpu }
196-
- { nvhpc: '25.1', target: cpu }
197-
- { nvhpc: '25.1', target: gpu }
198-
- { nvhpc: '25.3', target: cpu }
199-
- { nvhpc: '25.3', target: gpu }
200-
- { nvhpc: '25.5', target: cpu }
201-
- { nvhpc: '25.5', target: gpu }
202-
- { nvhpc: '25.7', target: cpu }
203-
- { nvhpc: '25.7', target: gpu }
204-
- { nvhpc: '25.9', target: cpu }
205-
- { nvhpc: '25.9', target: gpu }
206-
- { nvhpc: '25.11', target: cpu }
207-
- { nvhpc: '25.11', target: gpu }
208-
- { nvhpc: '26.1', target: cpu }
209-
- { nvhpc: '26.1', target: gpu }
210-
- { nvhpc: '26.3', target: cpu }
211-
- { nvhpc: '26.3', target: gpu }
182+
# Using single-CUDA tags instead of cuda_multi to fit GitHub runner disk.
183+
# nvhpc -> highest bundled CUDA 12.x (from release notes)
184+
- { nvhpc: '23.11', target: cpu, cuda: '12.3' }
185+
- { nvhpc: '23.11', target: gpu, cuda: '12.3' }
186+
- { nvhpc: '24.1', target: cpu, cuda: '12.3' }
187+
- { nvhpc: '24.1', target: gpu, cuda: '12.3' }
188+
- { nvhpc: '24.3', target: cpu, cuda: '12.3' }
189+
- { nvhpc: '24.3', target: gpu, cuda: '12.3' }
190+
- { nvhpc: '24.5', target: cpu, cuda: '12.4' }
191+
- { nvhpc: '24.5', target: gpu, cuda: '12.4' }
192+
- { nvhpc: '24.7', target: cpu, cuda: '12.5' }
193+
- { nvhpc: '24.7', target: gpu, cuda: '12.5' }
194+
- { nvhpc: '24.9', target: cpu, cuda: '12.6' }
195+
- { nvhpc: '24.9', target: gpu, cuda: '12.6' }
196+
- { nvhpc: '24.11', target: cpu, cuda: '12.6' }
197+
- { nvhpc: '24.11', target: gpu, cuda: '12.6' }
198+
- { nvhpc: '25.1', target: cpu, cuda: '12.6' }
199+
- { nvhpc: '25.1', target: gpu, cuda: '12.6' }
200+
- { nvhpc: '25.3', target: cpu, cuda: '12.8' }
201+
- { nvhpc: '25.3', target: gpu, cuda: '12.8' }
202+
- { nvhpc: '25.5', target: cpu, cuda: '12.8' }
203+
- { nvhpc: '25.5', target: gpu, cuda: '12.8' }
204+
- { nvhpc: '25.7', target: cpu, cuda: '12.8' }
205+
- { nvhpc: '25.7', target: gpu, cuda: '12.8' }
206+
- { nvhpc: '25.9', target: cpu, cuda: '12.9' }
207+
- { nvhpc: '25.9', target: gpu, cuda: '12.9' }
208+
- { nvhpc: '25.11', target: cpu, cuda: '12.9' }
209+
- { nvhpc: '25.11', target: gpu, cuda: '12.9' }
210+
- { nvhpc: '26.1', target: cpu, cuda: '12.9' }
211+
- { nvhpc: '26.1', target: gpu, cuda: '12.9' }
212+
- { nvhpc: '26.3', target: cpu, cuda: '12.9' }
213+
- { nvhpc: '26.3', target: gpu, cuda: '12.9' }
212214

213215
fail-fast: false
214216
continue-on-error: true
215217
runs-on: ${{ matrix.nvhpc && 'ubuntu-22.04' || format('{0}-latest', matrix.os) }}
216218
container:
217-
image: ${{ matrix.nvhpc && format('nvcr.io/nvidia/nvhpc:{0}-devel-cuda_multi-ubuntu22.04', matrix.nvhpc) || '' }}
219+
image: ${{ matrix.nvhpc && format('nvcr.io/nvidia/nvhpc:{0}-devel-cuda{1}-ubuntu22.04', matrix.nvhpc, matrix.cuda) || '' }}
218220
options: ${{ matrix.nvhpc && '--security-opt seccomp=unconfined' || '' }}
219221
env:
220222
CC: ${{ matrix.nvhpc && 'nvc' || '' }}

0 commit comments

Comments
 (0)