Skip to content

Commit 7840ee2

Browse files
authored
[CI] Test 'all' make target on Windows in nightly (#18708)
Nightly run [here](https://github.com/intel/llvm/actions/runs/15305462309), I cancelled all non-relevant jobs. We only install/package the `deploy-sycl-toolchain` target so building for `all` on the real nightly job that's uploaded should be fine. Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
1 parent f29f54e commit 7840ee2

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/sycl-nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ jobs:
152152
artifact_archive_name: sycl_windows.tar.gz
153153
# Disable the spirv-dis requirement as to not require SPIR-V Tools.
154154
build_configure_extra_args: -DLLVM_SPIRV_ENABLE_LIBSPIRV_DIS=off
155+
build_target: all
155156

156157
e2e-win:
157158
needs: build-win

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
build_configure_extra_args:
1111
type: string
1212
required: false
13+
build_target:
14+
type: string
15+
required: false
16+
default: sycl-toolchain
1317
changes:
1418
type: string
1519
description: 'Filter matches for the changed files in the PR'
@@ -58,6 +62,11 @@ on:
5862
build_configure_extra_args:
5963
type: string
6064
required: false
65+
build_target:
66+
type: choice
67+
options:
68+
- "sycl-toolchain"
69+
- "all"
6170
artifact_archive_name:
6271
type: choice
6372
options:
@@ -143,7 +152,7 @@ jobs:
143152
id: build
144153
shell: bash
145154
run: |
146-
cmake --build build --target sycl-toolchain
155+
cmake --build build --target ${{ inputs.build_target }}
147156
- name: check-llvm
148157
if: always() && !cancelled() && contains(inputs.changes, 'llvm')
149158
shell: bash

0 commit comments

Comments
 (0)