Skip to content

Commit 02a1d63

Browse files
authored
[CI] Detect changes to libdevice (#19584)
We check this in the windows/linux build workflows but we never set it, so use the existing `sycl` specifier. Closes: #19573 --------- Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 35371f6 commit 02a1d63

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/sycl-detect-changes.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
- *libclc
5555
- 'sycl/*'
5656
- 'sycl/!(test-e2e|doc)/**'
57+
- 'libdevice/**'
5758
ci:
5859
- .github/workflows/**
5960
# devops/* contains config files, including drivers versions.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ on:
4242
changes:
4343
type: string
4444
description: 'Filter matches for the changed files in the PR'
45-
default: '[llvm, clang, sycl, llvm_spirv, xptifw, libclc, libdevice]'
45+
default: '[llvm, clang, sycl, llvm_spirv, xptifw, libclc]'
4646
required: false
4747
retention-days:
4848
description: 'Artifacts retention period'
@@ -70,7 +70,7 @@ on:
7070
type: choice
7171
options:
7272
- "[]"
73-
- '[llvm, clang, sycl, llvm_spirv, xptifw, libclc, libdevice]'
73+
- '[llvm, clang, sycl, llvm_spirv, xptifw, libclc]'
7474
build_image:
7575
type: choice
7676
options:
@@ -218,7 +218,7 @@ jobs:
218218
run: |
219219
cmake --build $GITHUB_WORKSPACE/build --target check-libclc
220220
- name: check-libdevice
221-
if: always() && !cancelled() && contains(inputs.changes, 'libdevice')
221+
if: always() && !cancelled() && contains(inputs.changes, 'sycl')
222222
run: |
223223
cmake --build $GITHUB_WORKSPACE/build --target check-libdevice
224224
- name: Check E2E test requirements

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
changes:
1818
type: string
1919
description: 'Filter matches for the changed files in the PR'
20-
default: '[llvm, clang, sycl, llvm_spirv, xptifw, libclc, libdevice]'
20+
default: '[llvm, clang, sycl, llvm_spirv, xptifw, libclc]'
2121
required: false
2222
ref:
2323
type: string
@@ -54,7 +54,7 @@ on:
5454
options:
5555
- "[]"
5656
- '[sycl]'
57-
- '[llvm, clang, sycl, llvm_spirv, xptifw, libclc, libdevice]'
57+
- '[llvm, clang, sycl, llvm_spirv, xptifw, libclc]'
5858
build_cache_suffix:
5959
type: choice
6060
options:
@@ -180,7 +180,7 @@ jobs:
180180
run: |
181181
cmake --build build --target check-xptifw
182182
- name: check-libdevice
183-
if: always() && !cancelled() && contains(inputs.changes, 'libdevice')
183+
if: always() && !cancelled() && contains(inputs.changes, 'sycl')
184184
run: |
185185
cmake --build build --target check-libdevice
186186
- name: Generate/diff new ABI symbols

0 commit comments

Comments
 (0)