Skip to content

Commit

Permalink
move run to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
KornevNikita committed Feb 23, 2024
1 parent c97e9dc commit 441647a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sycl-linux-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ jobs:
$CMAKE_EXTRA_ARGS
ninja -C build-cts
- name: [CTS] List devices
- name: SYCL CTS List devices
if: inputs.tests_selector == 'cts'
run: |
./build-cts/bin/test_all --list-devices
Expand Down
24 changes: 8 additions & 16 deletions .github/workflows/sycl-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,21 @@ jobs:
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
target_devices: ext_oneapi_cuda:gpu

- name: SYCL-CTS
runner: '["cts-cpu"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
target_devices: opencl:cpu
tests_selector: cts
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }}
runner: ${{ matrix.runner }}
image: ${{ matrix.image }}
image_options: ${{ matrix.image_options }}
target_devices: ${{ matrix.target_devices }}
tests_selector: ${{ matrix.tests_selector }}
reset_gpu: ${{ matrix.reset_gpu }}
ref: ${{ github.sha }}
merge_ref: ''
Expand Down Expand Up @@ -107,22 +115,6 @@ jobs:
runner: '["Windows","gen12"]'
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}

sycl-cts:
needs: [ubuntu2204_build]
uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: SYCL-CTS
runner: '["cts-cpu"]'
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
target_devices: opencl:cpu
tests_selector: cts
install_drivers: false
ref: ${{ github.sha }}
sycl_toolchain_artifact: sycl_linux_default
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}

nightly_build_upload:
name: Nightly Build Upload
if: ${{ github.ref_name == 'sycl' }}
Expand Down

0 comments on commit 441647a

Please sign in to comment.