|
37 | 37 |
|
38 | 38 | repo_ref: |
39 | 39 | type: string |
40 | | - required: True |
| 40 | + required: False |
41 | 41 | description: | |
42 | 42 | Commit SHA or branch to checkout the intel/llvm repo. |
43 | 43 | tests_ref: |
|
60 | 60 |
|
61 | 61 | e2e_binaries_artifact: |
62 | 62 | description: | |
63 | | - Must be set if `e2e_testing_mode` is equal to `run-only` and the |
64 | | - artifact must exist. Can be set in other modes resulting in artifact |
65 | | - upload. |
| 63 | + When set in modes other than `run-only` results in artifact upload. |
| 64 | + For `run-only` mode, if specified, means downloading pre-built |
| 65 | + binaries from the artifact, otherwise they are expected to be part of |
| 66 | + the container. |
66 | 67 | type: string |
67 | 68 | default: '' |
68 | 69 | required: False |
@@ -144,17 +145,20 @@ on: |
144 | 145 | runner: |
145 | 146 | type: choice |
146 | 147 | options: |
| 148 | + - '["Linux", "pvc"]' |
147 | 149 | - '["Linux", "gen12"]' |
148 | 150 | - '["amdgpu"]' |
149 | 151 | - '["Linux", "arc"]' |
150 | | - - '["Linux", "pvc"]' |
151 | 152 | - '["cts-cpu"]' |
152 | 153 | - '["Linux", "build"]' |
153 | 154 | - '["cuda"]' |
154 | 155 | - '["PVC_PERF"]' |
155 | 156 | image: |
156 | 157 | type: choice |
157 | 158 | options: |
| 159 | + - 'ghcr.io/intel/llvm/sycl_prebuilt_tests:v6.1.0' |
| 160 | + - 'ghcr.io/intel/llvm/sycl_prebuilt_tests:nightly-2025-06-20' |
| 161 | + - 'ghcr.io/intel/llvm/sycl_prebuilt_tests:nightly-2025-07-18' |
158 | 162 | - 'ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest' |
159 | 163 | - 'ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps' |
160 | 164 | image_options: |
|
179 | 183 | - e2e |
180 | 184 | - cts |
181 | 185 | - benchmarks |
| 186 | + toolchain_release_tag: |
| 187 | + description: | |
| 188 | + Tag of the release at https://github.com/intel/llvm/releases. |
| 189 | + default: '' |
182 | 190 |
|
183 | 191 | env: |
184 | 192 | description: | |
@@ -256,11 +264,6 @@ jobs: |
256 | 264 | uses: actions/download-artifact@v4 |
257 | 265 | with: |
258 | 266 | name: ${{ inputs.toolchain_artifact }} |
259 | | - - name: Debug prints [workflow_run] |
260 | | - if: inputs.toolchain_artifact != '' && github.event_name == 'workflow_run' |
261 | | - run: | |
262 | | - pwd |
263 | | - ls |
264 | 267 | - name: Download SYCL toolchain [workflow_run] |
265 | 268 | # NOTE: This is for `sycl-linux-precommit-aws.yml`. |
266 | 269 | if: inputs.toolchain_artifact != '' && github.event_name == 'workflow_run' |
@@ -291,12 +294,22 @@ jobs: |
291 | 294 | ls |
292 | 295 | unzip ${{ inputs.toolchain_artifact }}.zip |
293 | 296 | rm ${{ inputs.toolchain_artifact }}.zip |
| 297 | + - name: Download SYCL toolchain using release tag |
| 298 | + if: inputs.toolchain_release_tag != '' |
| 299 | + env: |
| 300 | + TAG: ${{ inputs.toolchain_release_tag }} |
| 301 | + run: | |
| 302 | + wget "https://github.com/intel/llvm/releases/download/$TAG/sycl_linux.tar.gz" |
| 303 | +
|
294 | 304 | - name: Extract/Setup SYCL toolchain |
295 | | - if: inputs.toolchain_artifact != '' |
| 305 | + if: inputs.toolchain_artifact != '' || inputs.toolchain_release_tag != '' |
| 306 | + env: |
| 307 | + FILENAME: ${{ inputs.toolchain_artifact_filename || sycl_linux.tar.gz }} |
296 | 308 | run: | |
297 | 309 | mkdir toolchain |
298 | | - tar -I '${{ inputs.toolchain_decompress_command }}' -xf ${{ inputs.toolchain_artifact_filename }} -C toolchain |
299 | | - rm -f ${{ inputs.toolchain_artifact_filename }} |
| 310 | + tar -I '${{ inputs.toolchain_decompress_command || gunzip }}' \ |
| 311 | + -xf "$FILENAME" -C toolchain |
| 312 | + rm -f "$FILENAME" |
300 | 313 | echo PATH=$PWD/toolchain/bin/:$PATH >> $GITHUB_ENV |
301 | 314 | echo LD_LIBRARY_PATH=$PWD/toolchain/lib/:$LD_LIBRARY_PATH >> $GITHUB_ENV |
302 | 315 | - run: which clang++ sycl-ls |
|
0 commit comments