Skip to content

Commit 58e1410

Browse files
[CI] Limit the scope of Linux pre-commit build (#17391)
We don't need to build default `all` target, `sycl-toolchain` is enough for us.
1 parent 16713ea commit 58e1410

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
--cmake-opt="-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=SPIRV"
171171
- name: Compile
172172
id: build
173-
run: cmake --build $GITHUB_WORKSPACE/build
173+
run: cmake --build $GITHUB_WORKSPACE/build --target sycl-toolchain
174174
- name: check-llvm
175175
if: always() && !cancelled() && contains(inputs.changes, 'llvm')
176176
run: |

0 commit comments

Comments
 (0)