@@ -135,3 +135,118 @@ jobs:
135
135
fpgaemu_tag=${{fromJson(steps.deps.outputs.deps).linux_staging.fpgaemu.github_tag}}
136
136
cpu_tag=${{fromJson(steps.deps.outputs.deps).linux_staging.oclcpu.github_tag}}
137
137
138
+ base_image_ubuntu2204 :
139
+ if : github.repository == 'intel/llvm'
140
+ name : Base Ubuntu 22.04 Docker image
141
+ runs-on : ubuntu-latest
142
+ steps :
143
+ - name : Checkout
144
+ uses : actions/checkout@v3
145
+ with :
146
+ fetch-depth : 2
147
+ - name : Build and Push Container
148
+ uses : ./devops/actions/build_container
149
+ with :
150
+ push : ${{ github.event_name != 'pull_request' }}
151
+ file : ubuntu2204_base
152
+ username : ${{ github.repository_owner }}
153
+ password : ${{ secrets.GITHUB_TOKEN }}
154
+ tags : |
155
+ ghcr.io/${{ github.repository }}/ubuntu2204_base:${{ github.sha }}
156
+ ghcr.io/${{ github.repository }}/ubuntu2204_base:latest
157
+ build_image_ubuntu2204 :
158
+ if : github.repository == 'intel/llvm'
159
+ name : Build Ubuntu Docker image
160
+ runs-on : ubuntu-latest
161
+ steps :
162
+ - name : Checkout
163
+ uses : actions/checkout@v3
164
+ with :
165
+ fetch-depth : 2
166
+ - name : Build and Push Container
167
+ uses : ./devops/actions/build_container
168
+ with :
169
+ push : ${{ github.event_name != 'pull_request' }}
170
+ file : ubuntu2204_build
171
+ username : ${{ github.repository_owner }}
172
+ password : ${{ secrets.GITHUB_TOKEN }}
173
+ tags : |
174
+ ghcr.io/${{ github.repository }}/ubuntu2204_build:${{ github.sha }}
175
+ ghcr.io/${{ github.repository }}/ubuntu2204_build:latest
176
+
177
+ # This job produces a Docker container with the latest versions of Intel
178
+ # drivers, that can be found on GitHub.
179
+ drivers_image_ubuntu2204 :
180
+ if : github.repository == 'intel/llvm'
181
+ name : Intel Drivers Ubuntu 22.04 Docker image
182
+ runs-on : ubuntu-latest
183
+ needs : base_image_ubuntu2204
184
+ steps :
185
+ - name : Checkout
186
+ uses : actions/checkout@v3
187
+ with :
188
+ fetch-depth : 2
189
+ - name : Get dependencies configuration
190
+ id : deps
191
+ run : |
192
+ DEPS=`cat devops/dependencies.json`
193
+ DEPS="${DEPS//'%'/'%25'}"
194
+ DEPS="${DEPS//$'\n'/'%0A'}"
195
+ DEPS="${DEPS//$'\r'/'%0D'}"
196
+ echo $DEPS
197
+ echo "::set-output name=deps::$DEPS"
198
+ - name : Build and Push Container
199
+ uses : ./devops/actions/build_container
200
+ with :
201
+ push : ${{ github.event_name != 'pull_request' }}
202
+ file : ubuntu2204_intel_drivers
203
+ username : ${{ github.repository_owner }}
204
+ password : ${{ secrets.GITHUB_TOKEN }}
205
+ tags : |
206
+ ghcr.io/${{ github.repository }}/ubuntu2204_intel_drivers:latest-${{ github.sha }}
207
+ ghcr.io/${{ github.repository }}/ubuntu2204_intel_drivers:latest
208
+ build-args : |
209
+ compute_runtime_tag=${{fromJson(steps.deps.outputs.deps).linux.compute_runtime.github_tag}}
210
+ igc_tag=${{fromJson(steps.deps.outputs.deps).linux.igc.github_tag}}
211
+ tbb_tag=${{fromJson(steps.deps.outputs.deps).linux.tbb.github_tag}}
212
+ fpgaemu_tag=${{fromJson(steps.deps.outputs.deps).linux.fpgaemu.github_tag}}
213
+ cpu_tag=${{fromJson(steps.deps.outputs.deps).linux.oclcpu.github_tag}}
214
+
215
+ # This job produces a Docker container with the latest versions of Intel
216
+ # drivers, that can be found on GitHub.
217
+ drivers_image_ubuntu2204_unstable :
218
+ if : github.repository == 'intel/llvm'
219
+ name : Intel Drivers (unstable) Ubuntu 22.04 Docker image
220
+ runs-on : ubuntu-latest
221
+ needs : base_image_ubuntu2204
222
+ steps :
223
+ - name : Checkout
224
+ uses : actions/checkout@v3
225
+ with :
226
+ fetch-depth : 2
227
+ - name : Get dependencies configuration
228
+ id : deps
229
+ run : |
230
+ DEPS=`cat devops/dependencies.json`
231
+ DEPS="${DEPS//'%'/'%25'}"
232
+ DEPS="${DEPS//$'\n'/'%0A'}"
233
+ DEPS="${DEPS//$'\r'/'%0D'}"
234
+ echo $DEPS
235
+ echo "::set-output name=deps::$DEPS"
236
+ - name : Build and Push Container
237
+ uses : ./devops/actions/build_container
238
+ with :
239
+ push : ${{ github.event_name != 'pull_request' }}
240
+ file : ubuntu2204_intel_drivers
241
+ username : ${{ github.repository_owner }}
242
+ password : ${{ secrets.GITHUB_TOKEN }}
243
+ tags : |
244
+ ghcr.io/${{ github.repository }}/ubuntu2204_intel_drivers:unstable-${{ github.sha }}
245
+ ghcr.io/${{ github.repository }}/ubuntu2204_intel_drivers:unstable
246
+ build-args : |
247
+ compute_runtime_tag=${{fromJson(steps.deps.outputs.deps).linux_staging.compute_runtime.github_tag}}
248
+ igc_tag=${{fromJson(steps.deps.outputs.deps).linux_staging.igc.github_tag}}
249
+ tbb_tag=${{fromJson(steps.deps.outputs.deps).linux_staging.tbb.github_tag}}
250
+ fpgaemu_tag=${{fromJson(steps.deps.outputs.deps).linux_staging.fpgaemu.github_tag}}
251
+ cpu_tag=${{fromJson(steps.deps.outputs.deps).linux_staging.oclcpu.github_tag}}
252
+
0 commit comments