File tree 3 files changed +19
-19
lines changed
devops/actions/run-tests/e2e
3 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 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 :
@@ -249,3 +249,16 @@ jobs:
249
249
name : sycl_linux_${{ inputs.build_artifact_suffix }}
250
250
path : ${{ steps.artifact_info.outputs.ARCHIVE_NAME }}
251
251
retention-days : ${{ inputs.retention-days }}
252
+
253
+ - name : Build E2E tests
254
+ if : ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
255
+ uses : ./devops/actions/run-tests/e2e
256
+ env :
257
+ LIT_FILTER : bit_cast.cpp
258
+ with :
259
+ ref : ${{ inputs.ref || github.sha }}
260
+ merge_ref : ${{ inputs.merge_ref }}
261
+ e2e_testing_mode : build-only
262
+ target_devices : all
263
+ artifact_suffix : default
264
+ cxx_compiler : $GITHUB_WORKSPACE/build/bin/clang++
Original file line number Diff line number Diff line change 47
47
build_artifact_suffix : " default"
48
48
build_cache_suffix : " default"
49
49
# Docker image has last nightly pre-installed and added to the PATH
50
- build_image : " ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build "
50
+ build_image : " ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest "
51
51
cc : clang
52
52
cxx : clang++
53
53
changes : ${{ needs.detect_changes.outputs.filters }}
74
74
echo 'arc_tests="Matrix/"' >> "$GITHUB_OUTPUT"
75
75
fi
76
76
77
- build_e2e_tests :
78
- needs : [build]
79
- if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
80
- uses : ./.github/workflows/sycl-linux-run-tests.yml
81
- with :
82
- name : Build e2e tests
83
- runner : ' ["Linux", "build"]'
84
- image : ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps
85
- image_options : -u 1001
86
- ref : ${{ github.sha }}
87
- merge_ref : ' '
88
- sycl_toolchain_artifact : sycl_linux_default
89
- sycl_toolchain_archive : ${{ needs.build.outputs.artifact_archive_name }}
90
- sycl_toolchain_decompress_command : ${{ needs.build.outputs.artifact_decompress_command }}
91
- e2e_testing_mode : ' build-only'
92
77
run_prebuilt_e2e_tests :
93
- needs : [build, build_e2e_tests ]
78
+ needs : [build]
94
79
if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
95
80
strategy :
96
81
fail-fast : false
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ inputs:
19
19
required : false
20
20
retention-days :
21
21
required : false
22
+ cxx_compiler :
23
+ required : false
22
24
23
25
24
26
runs :
58
60
if : inputs.e2e_binaries_artifact == ''
59
61
shell : bash
60
62
run : |
61
- cmake -GNinja -B./build-e2e -S./llvm/sycl/test-e2e -DCMAKE_CXX_COMPILER="$(which clang++)" -DLLVM_LIT="$PWD/llvm/llvm/utils/lit/lit.py" ${{ steps.cmake_opts.outputs.opts }}
63
+ cmake -GNinja -B./build-e2e -S./llvm/sycl/test-e2e -DCMAKE_CXX_COMPILER="${{ inputs.cxx_compiler || '$ (which clang++)'}} " -DLLVM_LIT="$PWD/llvm/llvm/utils/lit/lit.py" ${{ steps.cmake_opts.outputs.opts }}
62
64
- name : SYCL End-to-end tests
63
65
shell : bash {0}
64
66
env :
You can’t perform that action at this time.
0 commit comments