Skip to content

Commit ca6fdce

Browse files
committed
Remove target_devices from build only test run
Also change how its set
1 parent 8ec39c3 commit ca6fdce

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ jobs:
8282
runner: '["Linux", "build"]'
8383
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:alldeps
8484
image_options: -u 1001
85-
target_devices: opencl:cpu
8685
extra_lit_opts: --param test-mode=build-only
8786
ref: ${{ github.sha }}
8887
merge_ref: ''

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919

2020
target_devices:
2121
type: string
22-
required: True
22+
required: False
2323
extra_cmake_args:
2424
type: string
2525
required: False
@@ -360,8 +360,7 @@ jobs:
360360
shell: bash {0}
361361
if: inputs.tests_selector == 'e2e'
362362
env:
363-
LIT_OPTS: -v --no-progress-bar --show-unsupported --show-pass --show-xfail --max-time 3600 --time-tests ${{ inputs.extra_lit_opts }}
364-
ONEAPI_DEVICE_SELECTOR: ${{ inputs.target_devices }}
363+
LIT_OPTS: -v --no-progress-bar --show-unsupported --show-pass --show-xfail --max-time 3600 --time-tests --param sycl_devices=${{ inputs.target_devices }} ${{ inputs.extra_lit_opts }}
365364
run: |
366365
ninja -C build-e2e check-sycl-e2e > e2e.log 2>&1
367366
exit_code=$?

0 commit comments

Comments
 (0)