Skip to content

Commit be5ad03

Browse files
authored
[CI] Test on all devices when not specified (#18356)
Nightly https://github.com/intel/llvm/actions/runs/14892412297 We forgot to set `target_devices` when moving the nightly Windows run-tests job over to the composite workflow, but we can't require it to be set because it needs to be unset for `build-only` mode, so just use `all` if not specified and fix the nightly. Currently we get a CMake error because `sycl_devices` is empty which fails to be parsed. --------- Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 037cc7b commit be5ad03

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/sycl-nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ jobs:
163163
with:
164164
name: Intel GEN12 Graphics with Level Zero
165165
runner: '["Windows","gen12"]'
166+
target_devices: level_zero:gpu
166167
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
167168

168169
cuda-aws-start:

devops/actions/run-tests/e2e/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ inputs:
1010
extra_cmake_args:
1111
required: false
1212
target_devices:
13-
required: true
13+
required: false
14+
default: all
1415
extra_lit_opts:
1516
required: false
1617
retention-days:

devops/actions/run-tests/windows/e2e/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ inputs:
1010
extra_cmake_args:
1111
required: false
1212
target_devices:
13-
required: true
13+
required: false
14+
default: all
1415
extra_lit_opts:
1516
required: false
1617
retention-days:

0 commit comments

Comments
 (0)