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/ubuntu2404_intel_drivers:alldeps "
74
74
cc :
75
75
type : choice
76
76
options :
@@ -217,6 +217,7 @@ jobs:
217
217
# TODO consider moving this to Dockerfile.
218
218
export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
219
219
LIT_OPTS="--allow-empty-runs" LIT_FILTER="e2e_test_requirements" cmake --build $GITHUB_WORKSPACE/build --target check-sycl
220
+
220
221
- name : Install
221
222
if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
222
223
# TODO replace utility installation with a single CMake target
@@ -237,6 +238,39 @@ jobs:
237
238
cmake --build $GITHUB_WORKSPACE/build --target install-clang-libraries
238
239
cmake --build $GITHUB_WORKSPACE/build --target install-llvm-libraries
239
240
241
+ - name : Source OneAPI TBB vars.sh
242
+ shell : bash
243
+ run : |
244
+ # https://github.com/actions/runner/issues/1964 prevents us from using
245
+ # the ENTRYPOINT in the image.
246
+ env | sort > env_before
247
+ if [ -e /runtimes/oneapi-tbb/env/vars.sh ]; then
248
+ source /runtimes/oneapi-tbb/env/vars.sh;
249
+ elif [ -e /opt/runtimes/oneapi-tbb/env/vars.sh ]; then
250
+ source /opt/runtimes/oneapi-tbb/env/vars.sh;
251
+ else
252
+ echo "no TBB vars in /opt/runtimes or /runtimes";
253
+ fi
254
+ env | sort > env_after
255
+ comm -13 env_before env_after >> $GITHUB_ENV
256
+ rm env_before env_after
257
+ - name : Build E2E tests
258
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
259
+ env :
260
+ LIT_OPTS : " -v --show-unsupported --show-pass --show-xfail --time-tests --param test-mode=build-only"
261
+ run : |
262
+ cmake --build $GITHUB_WORKSPACE/build --target check-sycl-e2e
263
+ - name : Pack E2E binaries
264
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
265
+ run : tar -I 'zstd -9' -cf e2e_binaries.tar.zst -C $GITHUB_WORKSPACE/build/tools/sycl/test-e2e .
266
+ - name : Upload E2E binaries
267
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
268
+ uses : actions/upload-artifact@v4
269
+ with :
270
+ name : sycl_e2e_bin_default
271
+ path : e2e_binaries.tar.zst
272
+ retention-days : 1
273
+
240
274
- name : Pack toolchain
241
275
if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
242
276
run : tar -I '${{ steps.artifact_info.outputs.COMPRESS }}' -cf ${{ steps.artifact_info.outputs.ARCHIVE_NAME }} -C $GITHUB_WORKSPACE/build/install .
0 commit comments