|
14 | 14 | build_image:
|
15 | 15 | type: string
|
16 | 16 | required: false
|
17 |
| - default: "ghcr.io/intel/llvm/ubuntu2404_build:latest" |
| 17 | + default: "ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps" |
18 | 18 | build_ref:
|
19 | 19 | type: string
|
20 | 20 | required: false
|
|
70 | 70 | build_image:
|
71 | 71 | type: choice
|
72 | 72 | options:
|
73 |
| - - "ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build" |
| 73 | + - 'ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest' |
74 | 74 | cc:
|
75 | 75 | type: choice
|
76 | 76 | options:
|
@@ -252,3 +252,37 @@ jobs:
|
252 | 252 | name: sycl_linux_${{ inputs.build_artifact_suffix }}
|
253 | 253 | path: ${{ steps.artifact_info.outputs.ARCHIVE_NAME }}
|
254 | 254 | retention-days: ${{ inputs.retention-days }}
|
| 255 | + |
| 256 | + - name: Copy toolchain |
| 257 | + if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' }} |
| 258 | + # We must have the compiler in the same location as it will be in the E2E |
| 259 | + # run-tests job. |
| 260 | + run: cp -r $GITHUB_WORKSPACE/build/install $GITHUB_WORKSPACE/toolchain |
| 261 | + |
| 262 | + - name: Source OneAPI TBB vars.sh |
| 263 | + shell: bash |
| 264 | + run: | |
| 265 | + # https://github.com/actions/runner/issues/1964 prevents us from using |
| 266 | + # the ENTRYPOINT in the image. |
| 267 | + env | sort > env_before |
| 268 | + if [ -e /runtimes/oneapi-tbb/env/vars.sh ]; then |
| 269 | + source /runtimes/oneapi-tbb/env/vars.sh; |
| 270 | + elif [ -e /opt/runtimes/oneapi-tbb/env/vars.sh ]; then |
| 271 | + source /opt/runtimes/oneapi-tbb/env/vars.sh; |
| 272 | + else |
| 273 | + echo "no TBB vars in /opt/runtimes or /runtimes"; |
| 274 | + fi |
| 275 | + env | sort > env_after |
| 276 | + comm -13 env_before env_after >> $GITHUB_ENV |
| 277 | + rm env_before env_after |
| 278 | +
|
| 279 | + - name: Build E2E tests |
| 280 | + if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' }} |
| 281 | + uses: ./devops/actions/run-tests/e2e |
| 282 | + with: |
| 283 | + ref: ${{ inputs.ref || github.sha }} |
| 284 | + merge_ref: ${{ inputs.merge_ref }} |
| 285 | + e2e_testing_mode: build-only |
| 286 | + target_devices: all |
| 287 | + artifact_suffix: default |
| 288 | + cxx_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++ |
0 commit comments