Skip to content

Commit 490abfa

Browse files
[CI] Move SPIRV-backend testing to post-commit
1 parent 5f713e2 commit 490abfa

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ jobs:
5959

6060
toolchain_artifact: sycl_linux_default
6161
e2e_binaries_artifact: e2e_bin
62-
e2e_binaries_spirv_backend_artifact: e2e_bin_spirv_backend
6362
e2e_binaries_preview_artifact: e2e_bin_preview
6463

6564
# If a PR changes CUDA adapter, run the build on Ubuntu 22.04 as well.
@@ -128,12 +127,6 @@ jobs:
128127
runner: '["Linux", "bmg"]'
129128
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
130129
target_devices: level_zero_v1:gpu;level_zero_v2:gpu
131-
- name: SPIR-V Backend / Intel Battlemage Graphics
132-
runner: '["Linux", "bmg"]'
133-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
134-
target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
135-
extra_lit_opts: --param spirv-backend=True
136-
e2e_binaries_artifact: e2e_bin_spirv_backend
137130
- name: Preview Mode
138131
runner: '["Linux", "gen12"]'
139132
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN

.github/workflows/sycl-post-commit.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
build_configure_extra_args: --no-assertions --hip --cuda --native_cpu -DSYCL_ENABLE_STACK_PRINTING=ON -DSYCL_LIB_WITH_DEBUG_SYMBOL=ON
4444

4545
toolchain_artifact: sycl_linux_default
46+
e2e_binaries_spirv_backend_artifact: e2e_bin_spirv_backend
4647

4748
e2e-lin:
4849
needs: [detect_changes, build-lin]
@@ -73,6 +74,13 @@ jobs:
7374
env: '{"LIT_FILTER":"PerformanceTests/"}'
7475
extra_lit_opts: -a -j 1 --param enable-perf-tests=True
7576
target_devices: all
77+
- name: SPIR-V Backend / Intel Battlemage Graphics
78+
runner: '["Linux", "bmg"]'
79+
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
80+
target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
81+
extra_lit_opts: --param spirv-backend=True
82+
e2e_binaries_artifact: e2e_bin_spirv_backend
83+
e2e_testing_mode: 'run-only'
7684
uses: ./.github/workflows/sycl-linux-run-tests.yml
7785
with:
7886
name: ${{ matrix.name }}
@@ -89,6 +97,9 @@ jobs:
8997
toolchain_artifact_filename: ${{ needs.build-lin.outputs.toolchain_artifact_filename }}
9098
toolchain_decompress_command: ${{ needs.build-lin.outputs.toolchain_decompress_command }}
9199

100+
e2e_binaries_artifact: ${{ matrix.e2e_binaries_artifact }}
101+
e2e_testing_mode: ${{ matrix.testing_mode }}
102+
92103
# Do not install drivers on AMD and CUDA runners.
93104
install_igc_driver: >-
94105
${{ github.event_name == 'pull_request' }} &&

0 commit comments

Comments
 (0)