-
Notifications
You must be signed in to change notification settings - Fork 791
[CI] Add precompiled CTS tests to sycl_prebuilt_tests image #20332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sycl
Are you sure you want to change the base?
Changes from 12 commits
7c9de76
026ba62
7fb4a3e
96d5ea7
ad2da94
3453107
874bc9d
2c0f0e6
64d2eae
3f27ea4
7f6bcc3
89faa52
d2d243f
fccecfb
6d9717b
e74bc2c
658294f
d424a37
0ae7546
76c0642
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,18 @@ on: | |
description: tag/sha | ||
required: true | ||
default: | ||
cts_ref: | ||
type: choice | ||
description: tag/sha to use for CTS -- hardcoded hash is last known good commit. | ||
|
||
required: true | ||
default: 'main' | ||
options: | ||
- main | ||
# Author: Tom Deakin <[email protected]> | ||
ianayl marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# Date: Thu Jul 10 16:45:48 2025 +0100 | ||
# Merge pull request #1102 from steffenlarsen/steffen/remove_secondary_queue_exceptions | ||
# Remove expected exceptions for secondary queue | ||
- 19e4ed34377c8a8a354d701772427be8c5430b0d | ||
|
||
push: | ||
branches: | ||
|
@@ -35,6 +47,12 @@ jobs: | |
toolchain_artifact: toolchain | ||
toolchain_artifact_filename: toolchain.tar.zst | ||
e2e_binaries_artifact: e2e_bin | ||
cts_binaries_artifact: cts_bin | ||
aelovikov-intel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# Author: Tom Deakin <[email protected]> | ||
# Date: Thu Jul 10 16:45:48 2025 +0100 | ||
# Merge pull request #1102 from steffenlarsen/steffen/remove_secondary_queue_exceptions | ||
# Remove expected exceptions for secondary queue | ||
cts_binaries_ref: ${{ github.event_name == 'push' && 19e4ed34377c8a8a354d701772427be8c5430b0d || inputs.cts_ref }} | ||
|
||
# Couldn't make it work from inside the container, so have to use an extra job | ||
# and pass an artifact. | ||
|
@@ -72,7 +90,11 @@ jobs: | |
with: | ||
name: e2e_bin | ||
path: devops/ | ||
|
||
- name: Download CTS binaries | ||
uses: actions/download-artifact@v5 | ||
with: | ||
name: cts_bin | ||
path: devops/ | ||
|
||
- name: Build container | ||
uses: ./devops/actions/build_container | ||
|
@@ -116,3 +138,30 @@ jobs: | |
with: | ||
testing_mode: run-only | ||
target_devices: level_zero:gpu | ||
|
||
run-cts: | ||
name: Run CTS tests with SYCL RT they were built with | ||
ianayl marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
runs-on: [Linux, pvc] | ||
needs: [docker, build] | ||
if: ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }} | ||
container: | ||
image: ghcr.io/${{ github.repository }}/sycl_prebuilt_tests:${{ inputs.ref || github.ref_name }} | ||
options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN | ||
steps: | ||
- uses: actions/checkout@v5 | ||
with: | ||
sparse-checkout: | | ||
devops | ||
- run: | | ||
mkdir toolchain | ||
tar -I 'zstd' -xf /sycl-prebuilt/toolchain.tar.zst -C toolchain | ||
echo LD_LIBRARY_PATH=$PWD/toolchain/lib:$LD_LIBRARY_PATH >> $GITHUB_ENV | ||
echo PATH=$PWD/toolchain/bin:$PATH >> $GITHUB_ENV | ||
- run: | | ||
sycl-ls | ||
- name: Run CTS tests | ||
ianayl marked this conversation as resolved.
Show resolved
Hide resolved
|
||
uses: ./devops/actions/run-tests/cts | ||
timeout-minutes: 20 | ||
with: | ||
testing_mode: run-only | ||
target_devices: level_zero:gpu |
Uh oh!
There was an error while loading. Please reload this page.