Skip to content

Commit 83ca577

Browse files
[CI][NFC] Rename inputs.check_filters -> inputs.changes (#10505)
1 parent 1a52f1a commit 83ca577

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

.github/workflows/sycl_linux_build_and_test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ on:
7373
type: string
7474
required: false
7575
default: 'SYCL-2020'
76-
check_filters:
76+
changes:
7777
type: string
7878
description: 'Filter matches for the changed files in the PR'
7979
default: '[llvm, clang, sycl, llvm_spirv, xptifw, libclc, libdevice]'
@@ -136,35 +136,35 @@ jobs:
136136
id: build
137137
run: cmake --build $GITHUB_WORKSPACE/build
138138
- name: check-llvm
139-
if: always() && !cancelled() && contains(inputs.check_filters, 'llvm')
139+
if: always() && !cancelled() && contains(inputs.changes, 'llvm')
140140
run: |
141141
cmake --build $GITHUB_WORKSPACE/build --target check-llvm
142142
- name: check-clang
143-
if: always() && !cancelled() && contains(inputs.check_filters, 'clang')
143+
if: always() && !cancelled() && contains(inputs.changes, 'clang')
144144
run: |
145145
# Can we move this to Dockerfile? Hopefully, noop on Windows.
146146
export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
147147
cmake --build $GITHUB_WORKSPACE/build --target check-clang
148148
- name: check-sycl
149-
if: always() && !cancelled() && contains(inputs.check_filters, 'sycl')
149+
if: always() && !cancelled() && contains(inputs.changes, 'sycl')
150150
run: |
151151
# TODO consider moving this to Dockerfile.
152152
export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
153153
cmake --build $GITHUB_WORKSPACE/build --target check-sycl
154154
- name: check-llvm-spirv
155-
if: always() && !cancelled() && contains(inputs.check_filters, 'llvm_spirv')
155+
if: always() && !cancelled() && contains(inputs.changes, 'llvm_spirv')
156156
run: |
157157
cmake --build $GITHUB_WORKSPACE/build --target check-llvm-spirv
158158
- name: check-xptifw
159-
if: always() && !cancelled() && contains(inputs.check_filters, 'xptifw')
159+
if: always() && !cancelled() && contains(inputs.changes, 'xptifw')
160160
run: |
161161
cmake --build $GITHUB_WORKSPACE/build --target check-xptifw
162162
- name: check-libclc
163-
if: always() && !cancelled() && contains(inputs.check_filters, 'libclc')
163+
if: always() && !cancelled() && contains(inputs.changes, 'libclc')
164164
run: |
165165
cmake --build $GITHUB_WORKSPACE/build --target check-libclc
166166
- name: check-libdevice
167-
if: always() && !cancelled() && contains(inputs.check_filters, 'libdevice')
167+
if: always() && !cancelled() && contains(inputs.changes, 'libdevice')
168168
run: |
169169
cmake --build $GITHUB_WORKSPACE/build --target check-libdevice
170170
- name: Install

.github/workflows/sycl_precommit_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ jobs:
9292
build_cache_suffix: "default"
9393
lts_matrix: ${{ needs.test_matrix.outputs.lts_lx_matrix }}
9494
lts_aws_matrix: ${{ needs.test_matrix.outputs.lts_aws_matrix }}
95-
check_filters: ${{ needs.detect_changes.outputs.filters }}
95+
changes: ${{ needs.detect_changes.outputs.filters }}

.github/workflows/sycl_precommit_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ jobs:
8484
with:
8585
lts_matrix: ${{ needs.test_matrix.outputs.lts_wn_matrix }}
8686
build_ref: ${{ github.event.pull_request.head.sha }}
87-
check_filters: ${{ needs.detect_changes.outputs.filters }}
87+
changes: ${{ needs.detect_changes.outputs.filters }}

.github/workflows/sycl_windows_build_and_test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
type: string
1919
required: false
2020
default: ""
21-
check_filters:
21+
changes:
2222
type: string
2323
description: 'Filter matches for the changed files in the PR'
2424
default: '[llvm, clang, sycl, llvm_spirv, xptifw, libclc, libdevice]'
@@ -77,27 +77,27 @@ jobs:
7777
run: |
7878
cmake --build build --target sycl-toolchain
7979
- name: check-llvm
80-
if: always() && !cancelled() && contains(inputs.check_filters, 'llvm')
80+
if: always() && !cancelled() && contains(inputs.changes, 'llvm')
8181
run: |
8282
cmake --build build --target check-llvm
8383
- name: check-clang
84-
if: always() && !cancelled() && contains(inputs.check_filters, 'clang')
84+
if: always() && !cancelled() && contains(inputs.changes, 'clang')
8585
run: |
8686
cmake --build build --target check-clang
8787
- name: check-sycl
88-
if: always() && !cancelled() && contains(inputs.check_filters, 'sycl')
88+
if: always() && !cancelled() && contains(inputs.changes, 'sycl')
8989
run: |
9090
cmake --build build --target check-sycl
9191
- name: check-llvm-spirv
92-
if: always() && !cancelled() && contains(inputs.check_filters, 'llvm_spirv')
92+
if: always() && !cancelled() && contains(inputs.changes, 'llvm_spirv')
9393
run: |
9494
cmake --build build --target check-llvm-spirv
9595
- name: check-xptifw
96-
if: always() && !cancelled() && contains(inputs.check_filters, 'xptifw')
96+
if: always() && !cancelled() && contains(inputs.changes, 'xptifw')
9797
run: |
9898
cmake --build build --target check-xptifw
9999
- name: check-libdevice
100-
if: always() && !cancelled() && contains(inputs.check_filters, 'libdevice')
100+
if: always() && !cancelled() && contains(inputs.changes, 'libdevice')
101101
run: |
102102
cmake --build build --target check-libdevice
103103
- name: Install

0 commit comments

Comments
 (0)