Skip to content

Commit 66f15f4

Browse files
Disable unrelated CI
1 parent 5f713e2 commit 66f15f4

File tree

3 files changed

+176
-176
lines changed

3 files changed

+176
-176
lines changed

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

Lines changed: 174 additions & 174 deletions
Original file line numberDiff line numberDiff line change
@@ -55,179 +55,179 @@ jobs:
5555
build_image: "ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest"
5656
cc: clang
5757
cxx: clang++
58-
changes: ${{ needs.detect_changes.outputs.filters }}
58+
changes: '[]'
5959

6060
toolchain_artifact: sycl_linux_default
61-
e2e_binaries_artifact: e2e_bin
62-
e2e_binaries_spirv_backend_artifact: e2e_bin_spirv_backend
63-
e2e_binaries_preview_artifact: e2e_bin_preview
64-
65-
# If a PR changes CUDA adapter, run the build on Ubuntu 22.04 as well.
66-
# Ubuntu 22.04 container has CUDA 12.1 installed while Ubuntu 24.0 image
67-
# has CUDA 12.6.1 installed.
68-
# The idea is to ensure that the code works with both CUDA versions.
69-
build_ubuntu2204:
70-
needs: [detect_changes]
71-
if: always() && !cancelled() && contains(needs.detect_changes.outputs.filters, 'ur_cuda_adapter')
72-
uses: ./.github/workflows/sycl-linux-build.yml
73-
with:
74-
build_ref: ${{ github.sha }}
75-
build_cache_root: "/__w/"
76-
build_cache_suffix: "ubuntu22"
77-
build_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
78-
changes: ${{ needs.detect_changes.outputs.filters }}
79-
80-
toolchain_artifact: sycl_linux_ubuntu22
81-
82-
run_prebuilt_e2e_tests:
83-
needs: [build, detect_changes]
84-
if: ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
85-
strategy:
86-
fail-fast: false
87-
matrix:
88-
include:
89-
- name: GEN 12 Integrated
90-
runner: '["Linux", "gen12"]'
91-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
92-
target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
93-
extra_lit_opts: --param gpu-intel-gen12=True
94-
- name: NVIDIA/CUDA
95-
runner: '["Linux", "cuda"]'
96-
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
97-
target_devices: cuda:gpu
98-
- name: AMD/HIP
99-
runner: '["Linux", "amdgpu"]'
100-
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd
101-
target_devices: hip:gpu
102-
extra_lit_opts: -j 1
103-
- name: Intel Arc A-Series Graphics
104-
runner: '["Linux", "arc"]'
105-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
106-
target_devices: level_zero:gpu;opencl:gpu;level_zero_v2:gpu
107-
extra_lit_opts: --param matrix-xmx8=True
108-
- name: E2E tests with dev igc on Intel Arc A-Series Graphics
109-
runner: '["Linux", "arc"]'
110-
image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
111-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
112-
target_devices: level_zero:gpu
113-
extra_lit_opts: --param matrix-xmx8=True
114-
use_igc_dev: true
115-
env: '{"LIT_FILTER":"Matrix/"}'
116-
- name: E2E tests on Intel Ponte Vecchio GPU
117-
runner: '["Linux", "pvc"]'
118-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
119-
target_devices: level_zero:gpu;opencl:gpu;level_zero_v2:gpu
120-
- name: Dev IGC on Intel Ponte Vecchio GPU
121-
runner: '["Linux", "pvc"]'
122-
image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
123-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
124-
target_devices: level_zero:gpu
125-
use_igc_dev: true
126-
env: '{"LIT_FILTER":"Matrix/"}'
127-
- name: Intel Battlemage Graphics
128-
runner: '["Linux", "bmg"]'
129-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
130-
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
137-
- name: Preview Mode
138-
runner: '["Linux", "gen12"]'
139-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
140-
target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
141-
extra_lit_opts: --param test-preview-mode=True
142-
e2e_binaries_artifact: e2e_bin_preview
143-
144-
uses: ./.github/workflows/sycl-linux-run-tests.yml
145-
with:
146-
name: ${{ matrix.name }}
147-
runner: ${{ matrix.runner }}
148-
image: ${{ matrix.image }}
149-
image_options: ${{ matrix.image_options }}
150-
target_devices: ${{ matrix.target_devices }}
151-
extra_lit_opts: ${{ matrix.extra_lit_opts }}
152-
repo_ref: ${{ github.sha }}
153-
toolchain_artifact: ${{ needs.build.outputs.toolchain_artifact }}
154-
toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
155-
toolchain_decompress_command: ${{ needs.build.outputs.toolchain_decompress_command }}
156-
e2e_binaries_artifact: ${{ matrix.e2e_binaries_artifact || 'e2e_bin' }}
157-
e2e_testing_mode: 'run-only'
158-
159-
# Do not install drivers on AMD and CUDA runners.
160-
install_igc_driver: >-
161-
${{ !contains(matrix.target_devices, 'cuda') &&
162-
!contains(matrix.target_devices, 'hip') &&
163-
contains(needs.detect_changes.outputs.filters, 'drivers') }}
164-
install_dev_igc_driver: >-
165-
${{ !contains(matrix.target_devices, 'cuda') &&
166-
!contains(matrix.target_devices, 'hip') &&
167-
matrix.use_igc_dev &&
168-
(contains(needs.detect_changes.outputs.filters, 'devigccfg') || contains(needs.detect_changes.outputs.filters, 'drivers')) ||
169-
'false' }}
170-
# Run only if the PR does not have the 'ci-no-devigc' label.
171-
skip_run: ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}}
172-
env: ${{ matrix.env || (contains(needs.detect_changes.outputs.filters, 'esimd') && '{}' || '{"LIT_FILTER_OUT":"ESIMD/"}') }}
173-
174-
test_benchmark_scripts:
175-
needs: [build, detect_changes]
176-
if: |
177-
always() && !cancelled()
178-
&& needs.build.outputs.build_conclusion == 'success'
179-
&& contains(needs.detect_changes.outputs.filters, 'benchmarks')
180-
uses: ./.github/workflows/sycl-linux-run-tests.yml
181-
with:
182-
name: Benchmark suite precommit testing
183-
runner: '["PVC_PERF"]'
184-
image: ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest
185-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
186-
target_devices: 'level_zero:gpu'
187-
tests_selector: benchmarks
188-
benchmark_upload_results: false
189-
benchmark_preset: 'Minimal'
190-
benchmark_dry_run: true
191-
repo_ref: ${{ github.sha }}
192-
toolchain_artifact: ${{ needs.build.outputs.toolchain_artifact }}
193-
toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
194-
toolchain_decompress_command: ${{ needs.build.outputs.toolchain_decompress_command }}
195-
196-
test-perf:
197-
needs: [build, detect_changes]
198-
if: |
199-
always() && !cancelled()
200-
&& needs.build.outputs.build_conclusion == 'success'
201-
&& (contains(github.event.pull_request.labels.*.name, 'run-perf-tests')
202-
|| contains(needs.detect_changes.outputs.filters, 'perf-tests'))
203-
strategy:
204-
fail-fast: false
205-
matrix:
206-
include:
207-
- name: Intel GEN12 Graphics system
208-
runner: '["Linux", "gen12"]'
209-
image_extra_opts: --device=/dev/dri
210-
- name: Intel Arc A-Series Graphics system
211-
runner: '["Linux", "arc"]'
212-
image_extra_opts: --device=/dev/dri
213-
- name: AMD system
214-
runner: '["Linux", "amdgpu"]'
215-
image_extra_opts: --device=/dev/dri --device=/dev/kfd
216-
- name: CUDA system
217-
runner: '["Linux", "cuda"]'
218-
image_extra_opts: --gpus all
219-
uses: ./.github/workflows/sycl-linux-run-tests.yml
220-
with:
221-
name: Perf tests on ${{ matrix.name }}
222-
runner: ${{ matrix. runner }}
223-
image_options: -u 1001 --privileged --cap-add SYS_ADMIN ${{ matrix.image_extra_opts }}
224-
target_devices: all
225-
226-
env: '{"LIT_FILTER":"PerformanceTests/"}'
227-
extra_lit_opts: -a -j 1 --param enable-perf-tests=True
228-
229-
repo_ref: ${{ github.sha }}
230-
231-
toolchain_artifact: ${{ needs.build.outputs.toolchain_artifact }}
232-
toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
233-
toolchain_decompress_command: ${{ needs.build.outputs.toolchain_decompress_command }}
61+
# e2e_binaries_artifact: e2e_bin
62+
# e2e_binaries_spirv_backend_artifact: e2e_bin_spirv_backend
63+
# e2e_binaries_preview_artifact: e2e_bin_preview
64+
65+
# # If a PR changes CUDA adapter, run the build on Ubuntu 22.04 as well.
66+
# # Ubuntu 22.04 container has CUDA 12.1 installed while Ubuntu 24.0 image
67+
# # has CUDA 12.6.1 installed.
68+
# # The idea is to ensure that the code works with both CUDA versions.
69+
# build_ubuntu2204:
70+
# needs: [detect_changes]
71+
# if: always() && !cancelled() && contains(needs.detect_changes.outputs.filters, 'ur_cuda_adapter')
72+
# uses: ./.github/workflows/sycl-linux-build.yml
73+
# with:
74+
# build_ref: ${{ github.sha }}
75+
# build_cache_root: "/__w/"
76+
# build_cache_suffix: "ubuntu22"
77+
# build_image: "ghcr.io/intel/llvm/ubuntu2204_build:latest"
78+
# changes: ${{ needs.detect_changes.outputs.filters }}
79+
80+
# toolchain_artifact: sycl_linux_ubuntu22
81+
82+
# run_prebuilt_e2e_tests:
83+
# needs: [build, detect_changes]
84+
# if: ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
85+
# strategy:
86+
# fail-fast: false
87+
# matrix:
88+
# include:
89+
# - name: GEN 12 Integrated
90+
# runner: '["Linux", "gen12"]'
91+
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
92+
# target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
93+
# extra_lit_opts: --param gpu-intel-gen12=True
94+
# - name: NVIDIA/CUDA
95+
# runner: '["Linux", "cuda"]'
96+
# image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
97+
# target_devices: cuda:gpu
98+
# - name: AMD/HIP
99+
# runner: '["Linux", "amdgpu"]'
100+
# image_options: -u 1001 --device=/dev/dri --device=/dev/kfd
101+
# target_devices: hip:gpu
102+
# extra_lit_opts: -j 1
103+
# - name: Intel Arc A-Series Graphics
104+
# runner: '["Linux", "arc"]'
105+
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
106+
# target_devices: level_zero:gpu;opencl:gpu;level_zero_v2:gpu
107+
# extra_lit_opts: --param matrix-xmx8=True
108+
# - name: E2E tests with dev igc on Intel Arc A-Series Graphics
109+
# runner: '["Linux", "arc"]'
110+
# image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
111+
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
112+
# target_devices: level_zero:gpu
113+
# extra_lit_opts: --param matrix-xmx8=True
114+
# use_igc_dev: true
115+
# env: '{"LIT_FILTER":"Matrix/"}'
116+
# - name: E2E tests on Intel Ponte Vecchio GPU
117+
# runner: '["Linux", "pvc"]'
118+
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
119+
# target_devices: level_zero:gpu;opencl:gpu;level_zero_v2:gpu
120+
# - name: Dev IGC on Intel Ponte Vecchio GPU
121+
# runner: '["Linux", "pvc"]'
122+
# image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
123+
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
124+
# target_devices: level_zero:gpu
125+
# use_igc_dev: true
126+
# env: '{"LIT_FILTER":"Matrix/"}'
127+
# - name: Intel Battlemage Graphics
128+
# runner: '["Linux", "bmg"]'
129+
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
130+
# 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
137+
# - name: Preview Mode
138+
# runner: '["Linux", "gen12"]'
139+
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
140+
# target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
141+
# extra_lit_opts: --param test-preview-mode=True
142+
# e2e_binaries_artifact: e2e_bin_preview
143+
144+
# uses: ./.github/workflows/sycl-linux-run-tests.yml
145+
# with:
146+
# name: ${{ matrix.name }}
147+
# runner: ${{ matrix.runner }}
148+
# image: ${{ matrix.image }}
149+
# image_options: ${{ matrix.image_options }}
150+
# target_devices: ${{ matrix.target_devices }}
151+
# extra_lit_opts: ${{ matrix.extra_lit_opts }}
152+
# repo_ref: ${{ github.sha }}
153+
# toolchain_artifact: ${{ needs.build.outputs.toolchain_artifact }}
154+
# toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
155+
# toolchain_decompress_command: ${{ needs.build.outputs.toolchain_decompress_command }}
156+
# e2e_binaries_artifact: ${{ matrix.e2e_binaries_artifact || 'e2e_bin' }}
157+
# e2e_testing_mode: 'run-only'
158+
159+
# # Do not install drivers on AMD and CUDA runners.
160+
# install_igc_driver: >-
161+
# ${{ !contains(matrix.target_devices, 'cuda') &&
162+
# !contains(matrix.target_devices, 'hip') &&
163+
# contains(needs.detect_changes.outputs.filters, 'drivers') }}
164+
# install_dev_igc_driver: >-
165+
# ${{ !contains(matrix.target_devices, 'cuda') &&
166+
# !contains(matrix.target_devices, 'hip') &&
167+
# matrix.use_igc_dev &&
168+
# (contains(needs.detect_changes.outputs.filters, 'devigccfg') || contains(needs.detect_changes.outputs.filters, 'drivers')) ||
169+
# 'false' }}
170+
# # Run only if the PR does not have the 'ci-no-devigc' label.
171+
# skip_run: ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}}
172+
# env: ${{ matrix.env || (contains(needs.detect_changes.outputs.filters, 'esimd') && '{}' || '{"LIT_FILTER_OUT":"ESIMD/"}') }}
173+
174+
# test_benchmark_scripts:
175+
# needs: [build, detect_changes]
176+
# if: |
177+
# always() && !cancelled()
178+
# && needs.build.outputs.build_conclusion == 'success'
179+
# && contains(needs.detect_changes.outputs.filters, 'benchmarks')
180+
# uses: ./.github/workflows/sycl-linux-run-tests.yml
181+
# with:
182+
# name: Benchmark suite precommit testing
183+
# runner: '["PVC_PERF"]'
184+
# image: ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest
185+
# image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
186+
# target_devices: 'level_zero:gpu'
187+
# tests_selector: benchmarks
188+
# benchmark_upload_results: false
189+
# benchmark_preset: 'Minimal'
190+
# benchmark_dry_run: true
191+
# repo_ref: ${{ github.sha }}
192+
# toolchain_artifact: ${{ needs.build.outputs.toolchain_artifact }}
193+
# toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
194+
# toolchain_decompress_command: ${{ needs.build.outputs.toolchain_decompress_command }}
195+
196+
# test-perf:
197+
# needs: [build, detect_changes]
198+
# if: |
199+
# always() && !cancelled()
200+
# && needs.build.outputs.build_conclusion == 'success'
201+
# && (contains(github.event.pull_request.labels.*.name, 'run-perf-tests')
202+
# || contains(needs.detect_changes.outputs.filters, 'perf-tests'))
203+
# strategy:
204+
# fail-fast: false
205+
# matrix:
206+
# include:
207+
# - name: Intel GEN12 Graphics system
208+
# runner: '["Linux", "gen12"]'
209+
# image_extra_opts: --device=/dev/dri
210+
# - name: Intel Arc A-Series Graphics system
211+
# runner: '["Linux", "arc"]'
212+
# image_extra_opts: --device=/dev/dri
213+
# - name: AMD system
214+
# runner: '["Linux", "amdgpu"]'
215+
# image_extra_opts: --device=/dev/dri --device=/dev/kfd
216+
# - name: CUDA system
217+
# runner: '["Linux", "cuda"]'
218+
# image_extra_opts: --gpus all
219+
# uses: ./.github/workflows/sycl-linux-run-tests.yml
220+
# with:
221+
# name: Perf tests on ${{ matrix.name }}
222+
# runner: ${{ matrix. runner }}
223+
# image_options: -u 1001 --privileged --cap-add SYS_ADMIN ${{ matrix.image_extra_opts }}
224+
# target_devices: all
225+
226+
# env: '{"LIT_FILTER":"PerformanceTests/"}'
227+
# extra_lit_opts: -a -j 1 --param enable-perf-tests=True
228+
229+
# repo_ref: ${{ github.sha }}
230+
231+
# toolchain_artifact: ${{ needs.build.outputs.toolchain_artifact }}
232+
# toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
233+
# toolchain_decompress_command: ${{ needs.build.outputs.toolchain_decompress_command }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
pull_request:
1212
branches:
13-
- sycl
13+
- sycl-foo
1414
paths:
1515
- .github/workflows/sycl-post-commit.yml
1616
- .github/workflows/sycl-linux-build.yml

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: SYCL Pre Commit on Windows
33
on:
44
pull_request:
55
branches:
6-
- sycl
6+
# - sycl
77
- llvmspirv_pulldown
88
- sycl-rel-**
99
# Do not run builds if changes are only in the following locations

0 commit comments

Comments
 (0)