Skip to content

Commit bd89eb7

Browse files
committed
[CI] Test 'all' cmake target in nightly
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
1 parent 5ac8577 commit bd89eb7

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ on:
3232
build_artifact_suffix:
3333
type: string
3434
required: true
35+
build_target:
36+
type: string
37+
required: false
38+
default: sycl-toolchain
3539
artifact_archive_name:
3640
type: string
3741
default: llvm_sycl.tar.zst
@@ -98,6 +102,13 @@ on:
98102
type: choice
99103
options:
100104
- "default"
105+
106+
build_target:
107+
type: choice
108+
options:
109+
- "sycl-toolchain"
110+
- "all"
111+
101112
retention-days:
102113
type: choice
103114
options:
@@ -177,7 +188,7 @@ jobs:
177188
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=SPIRV
178189
- name: Compile
179190
id: build
180-
run: cmake --build $GITHUB_WORKSPACE/build --target sycl-toolchain
191+
run: cmake --build $GITHUB_WORKSPACE/build --target ${{inputs.build_target}}
181192
- name: check-llvm
182193
if: always() && !cancelled() && contains(inputs.changes, 'llvm')
183194
run: |

.github/workflows/sycl-nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
build_cache_suffix: sprod_shared
3434
build_artifact_suffix: sprod_shared
3535
build_configure_extra_args: '--shared-libs --hip --cuda --native_cpu --no-assertions'
36+
build_target: all
3637

3738
artifact_archive_name: sycl_linux_shared.tar.zst
3839

0 commit comments

Comments
 (0)