Skip to content

Commit fb08aa1

Browse files
Debug CI part
1 parent 02be83f commit fb08aa1

File tree

3 files changed

+7
-94
lines changed

3 files changed

+7
-94
lines changed

.github/workflows/sycl-linux-precommit.yml

Lines changed: 3 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -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]

.github/workflows/sycl-windows-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ jobs:
253253
254254
- name: Build E2E tests
255255
if: ${{ inputs.e2e_binaries_artifact && always() && !cancelled() && steps.build.conclusion == 'success' }}
256+
env:
257+
LIT_FILTER: pch_read_error
256258
uses: ./devops/actions/run-tests/windows/e2e
257259
with:
258260
ref: ${{ inputs.ref || github.sha }}

.github/workflows/sycl-windows-precommit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
&& github.repository == 'intel/llvm'
5151
uses: ./.github/workflows/sycl-windows-build.yml
5252
with:
53-
changes: ${{ needs.detect_changes.outputs.filters }}
53+
changes: '[]'
5454
e2e_binaries_artifact: sycl_windows_e2ebin
5555

5656
run_prebuilt_e2e_tests:
@@ -74,5 +74,6 @@ jobs:
7474
runner: ${{ matrix.runner }}
7575
target_devices: "level_zero:gpu"
7676
toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
77+
env: '{"LIT_FILTER":"pch_read_error"}'
7778
e2e_testing_mode: run-only
7879
e2e_binaries_artifact: sycl_windows_e2ebin

0 commit comments

Comments
 (0)