@@ -201,11 +201,23 @@ jobs:
201201 always()
202202 && !cancelled()
203203 && needs.build-win.outputs.build_conclusion == 'success'
204+ strategy :
205+ fail-fast : false
206+ matrix :
207+ include :
208+ - name : Intel L0 Gen12 GPU
209+ runner : ' ["Windows", "gen12"]'
210+ target_devices : level_zero:gpu
211+
212+ - name : Intel L0 Battlemage GPU
213+ runner : ' ["Windows", "bmg"]'
214+ target_devices : level_zero:gpu
215+
204216 uses : ./.github/workflows/sycl-windows-run-tests.yml
205217 with :
206- name : Intel GEN12 Graphics with Level Zero
207- runner : ' ["Windows","gen12"] '
208- target_devices : level_zero:gpu
218+ name : ${{ matrix.name }}
219+ runner : ${{ matrix.runner }}
220+ target_devices : ${{ matrix.target_devices }}
209221 toolchain_artifact_filename : ${{ needs.build-win.outputs.toolchain_artifact_filename }}
210222
211223 cuda-aws-start :
@@ -320,20 +332,30 @@ jobs:
320332 toolchain_artifact_filename : ${{ needs.build-win.outputs.toolchain_artifact_filename }}
321333 sycl_cts_artifact : sycl_cts_bin_win
322334
335+ # Verification example:
336+ # cosign-windows-amd64.exe verify-blob sycl_linux.tar.gz \
337+ # --bundle sycl_linux.tar.gz.sigstore.json \
338+ # --certificate-oidc-issuer https://token.actions.githubusercontent.com \
339+ # --certificate-identity https://github.com/intel/llvm/.github/workflows/sycl-nightly.yml@refs/heads/sycl
323340 nightly_build_upload :
324341 name : Nightly Build Upload
325342 if : ${{ github.ref_name == 'sycl' }}
326343 needs : [ubuntu2204_build, build-win]
327344 runs-on : ubuntu-latest
328345 permissions :
329346 contents : write
347+ id-token : write
330348 steps :
331349 - uses : actions/download-artifact@v4
332350 with :
333351 name : sycl_linux_default
334352 - uses : actions/download-artifact@v4
335353 with :
336354 name : sycl_windows_default
355+ - name : Sign with sigstore/cosign
356+ 357+ with :
358+ inputs : sycl_linux.tar.gz sycl_windows.tar.gz
337359 - name : Compute tag
338360 id : tag
339361 run : |
@@ -349,6 +371,8 @@ jobs:
349371 files : |
350372 sycl_linux.tar.gz
351373 sycl_windows.tar.gz
374+ sycl_linux.tar.gz.sigstore.json
375+ sycl_windows.tar.gz.sigstore.json
352376 tag_name : nightly-${{ steps.tag.outputs.TAG }}
353377 name : DPC++ daily ${{ steps.tag.outputs.TAG }}
354378 prerelease : true
0 commit comments