23
23
jobs :
24
24
build :
25
25
name : Build / ${{ matrix.variance.name }}
26
- runs-on : ubuntu-latest
26
+ runs-on : ${{ matrix.variance.runner }}
27
27
container :
28
28
image : ${{ matrix.variance.image }}
29
29
strategy :
@@ -32,12 +32,22 @@ jobs:
32
32
variance :
33
33
# - name: Ubuntu-22.04/CUDA-11.8.0
34
34
# image: "ghcr.io/rust-gpu/rust-cuda-ubuntu22-cuda11:latest"
35
- - name : Ubuntu-22.04 / CUDA-12.8.1
35
+ # runner: ubuntu-latest
36
+ - name : Ubuntu-22.04 / CUDA-12.8.1 / x86_64
37
+ image : " ghcr.io/rust-gpu/rust-cuda-ubuntu22-cuda12:latest"
38
+ runner : ubuntu-latest
39
+ - name : Ubuntu-22.04 / CUDA-12.8.1 / ARM64
36
40
image : " ghcr.io/rust-gpu/rust-cuda-ubuntu22-cuda12:latest"
37
- - name : Ubuntu-24.04 / CUDA-12.8.1
41
+ runner : ubuntu-22.04-arm
42
+ - name : Ubuntu-24.04 / CUDA-12.8.1 / x86_64
38
43
image : " ghcr.io/rust-gpu/rust-cuda-ubuntu24-cuda12:latest"
39
- - name : RockyLinux-9 / CUDA-12.8.1
44
+ runner : ubuntu-latest
45
+ - name : Ubuntu-24.04 / CUDA-12.8.1 / ARM64
46
+ image : " ghcr.io/rust-gpu/rust-cuda-ubuntu24-cuda12:latest"
47
+ runner : ubuntu-24.04-arm
48
+ - name : RockyLinux-9 / CUDA-12.8.1 / x86_64
40
49
image : " ghcr.io/rust-gpu/rust-cuda-rockylinux9-cuda12:latest"
50
+ runner : ubuntu-latest
41
51
outputs :
42
52
# Output the result of the permission check
43
53
actor_has_write_permission : ${{ steps.check_access.outputs.require-result }}
@@ -119,7 +129,7 @@ jobs:
119
129
github.event_name == 'workflow_dispatch' ||
120
130
(github.event_name == 'pull_request' && needs.build.outputs.actor_has_write_permission == 'true')
121
131
)
122
- runs-on : ubuntu-latest
132
+ runs-on : ${{ matrix.variance.runner }}
123
133
# Use the exact same container image as the build job
124
134
container :
125
135
image : ${{ matrix.variance.image }}
@@ -129,14 +139,24 @@ jobs:
129
139
matrix :
130
140
variance :
131
141
# Must match the build job's matrix definition
132
- # - name: Ubuntu-22.04 / CUDA-11.8.0 image:
133
- # "ghcr.io/rust-gpu/rust-cuda-ubuntu22-cuda11:latest"
134
- - name : Ubuntu-22.04 / CUDA-12.8.1
142
+ # - name: Ubuntu-22.04 / CUDA-11.8.0
143
+ # image: "ghcr.io/rust-gpu/rust-cuda-ubuntu22-cuda11:latest"
144
+ # runner: ubuntu-latest
145
+ - name : Ubuntu-22.04 / CUDA-12.8.1 / x86_64
146
+ image : " ghcr.io/rust-gpu/rust-cuda-ubuntu22-cuda12:latest"
147
+ runner : ubuntu-latest
148
+ - name : Ubuntu-22.04 / CUDA-12.8.1 / ARM64
135
149
image : " ghcr.io/rust-gpu/rust-cuda-ubuntu22-cuda12:latest"
136
- - name : Ubuntu-24.04 / CUDA-12.8.1
150
+ runner : ubuntu-22.04-arm
151
+ - name : Ubuntu-24.04 / CUDA-12.8.1 / x86_64
152
+ image : " ghcr.io/rust-gpu/rust-cuda-ubuntu24-cuda12:latest"
153
+ runner : ubuntu-latest
154
+ - name : Ubuntu-24.04 / CUDA-12.8.1 / ARM64
137
155
image : " ghcr.io/rust-gpu/rust-cuda-ubuntu24-cuda12:latest"
138
- - name : RockyLinux-9 / CUDA-12.8.1
156
+ runner : ubuntu-24.04-arm
157
+ - name : RockyLinux-9 / CUDA-12.8.1 / x86_64
139
158
image : " ghcr.io/rust-gpu/rust-cuda-rockylinux9-cuda12:latest"
159
+ runner : ubuntu-latest
140
160
steps :
141
161
- name : Download build artifacts
142
162
uses : actions/download-artifact@v4
0 commit comments