@@ -56,88 +56,12 @@ jobs:
5656 build_image : " ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest"
5757 cc : clang
5858 cxx : clang++
59- changes : ${{ needs.detect_changes.outputs.filters }}
59+ changes : ' [] '
6060
6161 toolchain_artifact : sycl_linux_default
62- e2e_binaries_artifact : e2e_bin
63- e2e_binaries_preview_artifact : e2e_bin_preview
64-
65- # Build and run native cpu e2e tests separately as cannot currently
66- # build all the e2e tests
67- build_run_native_cpu_e2e_tests :
68- if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
69- runs-on : [Linux, build]
70- needs : [build]
71- container :
72- image : ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest
73- options : -u 1001:1001
74- steps :
75- - uses : actions/checkout@v5
76- with :
77- sparse-checkout : |
78- devops/
79-
80- # download build artefact
81- - name : Download toolchain
82- uses : actions/download-artifact@v5
83- with :
84- name : sycl_linux_default
85- - name : Extract SYCL toolchain
86- shell : bash
87- run : |
88- mkdir toolchain
89- tar -xf llvm_sycl.tar.zst -C toolchain
90- rm llvm_sycl.tar.zst
91- - name : Build and run E2E tests
92- uses : ./devops/actions/run-tests/e2e
93- with :
94- ref : ${{ inputs.ref || github.sha }}
95- testing_mode : full
96- target_devices : native_cpu:cpu
97- sycl_compiler : $GITHUB_WORKSPACE/toolchain/bin/clang++
98- extra_lit_opts : --param sycl_build_targets="native_cpu"
99- extra_cmake_args : -DSYCL_TEST_E2E_TARGETS="native_cpu:cpu" -DSYCL_TEST_E2E_STANDALONE=ON
100-
101- # If a PR changes CUDA adapter, run the build on Ubuntu 22.04 as well.
102- # Ubuntu 22.04 container has CUDA 12.1 installed while Ubuntu 24.0 image
103- # has CUDA 12.6.1 installed.
104- # The idea is to ensure that the code works with both CUDA versions.
105- build_ubuntu2204 :
106- needs : [detect_changes]
107- if : always() && !cancelled() && contains(needs.detect_changes.outputs.filters, 'ur_cuda_adapter')
108- uses : ./.github/workflows/sycl-linux-build.yml
109- with :
110- build_ref : ${{ github.sha }}
111- build_cache_root : " /__w/"
112- build_cache_suffix : " ubuntu22"
113- build_image : " ghcr.io/intel/llvm/ubuntu2204_build:latest"
114- changes : ${{ needs.detect_changes.outputs.filters }}
115-
116- toolchain_artifact : sycl_linux_ubuntu22
117-
118- compat_read_exclude :
119- name : Read compatibility testing exclude list
120- runs-on : [Linux, aux-tasks]
121- outputs :
122- FILTER_6_2 : ${{ steps.result.outputs.FILTER_6_2 }}
123- FILTER_6_3 : ${{ steps.result.outputs.FILTER_6_3 }}
124- steps :
125- - uses : actions/checkout@v5
126- with :
127- sparse-checkout : |
128- devops/
129- - name : Register cleanup after job is finished
130- uses : ./devops/actions/cleanup
131- - id : result
132- shell : bash
133- run : |
134- # Transform to format expected by `llvm-lit --filter-out "pattern1|pattern2|..."`.
135- # First, remove comments/empty lines, then join lines with "|" as separator.
136- echo FILTER_6_2="$(grep -v '^#\|^\W*$' devops/compat_ci_exclude.sycl-rel-6_2 | paste -sd '|')" >> $GITHUB_OUTPUT
137- echo FILTER_6_3="$(grep -v '^#\|^\W*$' devops/compat_ci_exclude.sycl-rel-6_3 | paste -sd '|')" >> $GITHUB_OUTPUT
13862
13963 E2E :
140- needs : [build, detect_changes, compat_read_exclude ]
64+ needs : [build, detect_changes]
14165 if : ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
14266 strategy :
14367 fail-fast : false
@@ -181,18 +105,6 @@ jobs:
181105 target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
182106 extra_lit_opts : --param test-preview-mode=True
183107 e2e_binaries_artifact : e2e_bin_preview
184- - name : ABI compatibility / sycl-rel-6_2
185- runner : ' ["Linux", "pvc"]'
186- image : ghcr.io/intel/llvm/sycl_prebuilt_tests:sycl-rel-6_2
187- target_devices : level_zero:gpu
188- extra_lit_opts : ' --param test-preview-mode=False --filter-out "${{ needs.compat_read_exclude.outputs.FILTER_6_2 }}"'
189- e2e_binaries_artifact : ' in-container'
190- - name : ABI compatibility / sycl-rel-6_3
191- runner : ' ["Linux", "pvc"]'
192- image : ghcr.io/intel/llvm/sycl_prebuilt_tests:sycl-rel-6_3
193- target_devices : level_zero:gpu
194- extra_lit_opts : ' --param test-preview-mode=False --filter-out "${{ needs.compat_read_exclude.outputs.FILTER_6_3 }}"'
195- e2e_binaries_artifact : ' in-container'
196108
197109 uses : ./.github/workflows/sycl-linux-run-tests.yml
198110 with :
@@ -206,8 +118,6 @@ jobs:
206118 toolchain_artifact : ${{ needs.build.outputs.toolchain_artifact }}
207119 toolchain_artifact_filename : ${{ needs.build.outputs.toolchain_artifact_filename }}
208120 toolchain_decompress_command : ${{ needs.build.outputs.toolchain_decompress_command }}
209- e2e_binaries_artifact : ${{ matrix.e2e_binaries_artifact || 'e2e_bin' }}
210- e2e_testing_mode : ' run-only'
211121
212122 # Do not install drivers on AMD and CUDA runners.
213123 install_igc_driver : >-
@@ -222,7 +132,7 @@ jobs:
222132 'false' }}
223133 # Run only if the PR does not have the 'ci-no-devigc' label.
224134 skip_run : ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}}
225- env : ${{ matrix.env || (contains(needs.detect_changes.outputs.filters, 'esimd') && '{}' || '{"LIT_FILTER_OUT ":"ESIMD/ "}') }}
135+ env : ' {"LIT_FILTER ":"pch_read_error "}'
226136
227137 test_benchmark_scripts :
228138 needs : [build, detect_changes]
0 commit comments