From 3c7b470ef55080354901ad013461f759e2382d8f Mon Sep 17 00:00:00 2001 From: Nick Sarnie Date: Wed, 12 Aug 2026 12:13:40 -0700 Subject: [PATCH] [CI] Add LTS driver job to nightly Signed-off-by: Nick Sarnie Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/sycl-nightly.yml | 48 ++++++++++++++++++++++++++++++ devops/lts-driver-tests | 6 ++++ 2 files changed, 54 insertions(+) create mode 100644 devops/lts-driver-tests diff --git a/.github/workflows/sycl-nightly.yml b/.github/workflows/sycl-nightly.yml index 3407e9fd22d41..4ec5766e34c57 100644 --- a/.github/workflows/sycl-nightly.yml +++ b/.github/workflows/sycl-nightly.yml @@ -234,6 +234,54 @@ jobs: toolchain_artifact_filename: ${{ needs.ubuntu2204_build.outputs.toolchain_artifact_filename }} toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.toolchain_decompress_command }} + lts_driver_read_tests: + name: Read LTS driver test list + if: github.repository == 'intel/llvm' + runs-on: [Linux, aux-tasks] + outputs: + LIT_FILTER: ${{ steps.read_filter.outputs.LIT_FILTER }} + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + sparse-checkout: | + devops/ + - name: Register cleanup after job is finished + uses: ./devops/actions/cleanup + - id: read_filter + shell: bash + run: | + # Transform to LIT_FILTER format: + # First, remove comments/empty lines, then join lines with "|" as separator. + echo LIT_FILTER="$(grep -v '^#\|^\W*$' devops/lts-driver-tests | paste -sd '|')" >> $GITHUB_OUTPUT + + ubuntu2204_test_lts_driver: + needs: [ubuntu2204_build, lts_driver_read_tests] + name: E2E on Intel LTS driver with ${{ matrix.enable_new_offload_model == 'True' && 'New Offload Model' || 'Old Offload Model' }} + permissions: + contents: write + packages: read + if: ${{ !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }} + strategy: + fail-fast: false + matrix: + enable_new_offload_model: ['False', 'True'] + + uses: ./.github/workflows/sycl-linux-run-tests.yml + with: + name: Intel PVC L0 LTS driver with ${{ matrix.enable_new_offload_model == 'True' && 'New Offload Model' || 'Old Offload Model' }} + runner: '["Linux", "pvc_lts"]' + image: ghcr.io/intel/llvm/ubuntu2204_intel_lts_drivers:latest + image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN + target_devices: level_zero:gpu + tests_selector: e2e + extra_lit_opts: "--param 'cxx_flags=-D_GLIBCXX_USE_CXX11_ABI=0' --param enable_new_offload_model=${{ matrix.enable_new_offload_model }}" + env: '{"LIT_FILTER":"${{ needs.lts_driver_read_tests.outputs.LIT_FILTER }}"}' + repo_ref: ${{ github.sha }} + toolchain_artifact: ${{ needs.ubuntu2204_build.outputs.toolchain_artifact }} + toolchain_artifact_filename: ${{ needs.ubuntu2204_build.outputs.toolchain_artifact_filename }} + toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.toolchain_decompress_command }} + ubuntu2404_oneapi_test: needs: [ubuntu2404_oneapi_build] permissions: diff --git a/devops/lts-driver-tests b/devops/lts-driver-tests new file mode 100644 index 0000000000000..635d55be8e330 --- /dev/null +++ b/devops/lts-driver-tests @@ -0,0 +1,6 @@ +# List of E2E tests to run against the nightly Intel LTS GPU driver job. +Basic/built-ins.cpp +Basic/buffer/buffer_dev_to_dev.cpp +Scheduler/InOrderQueueDeps.cpp +Reduction/reduction_deterministic.cpp +USM/mixed.cpp