From a361f57099dc8b27b5786149b042120a4a1650ba Mon Sep 17 00:00:00 2001 From: Andrei Elovikov Date: Tue, 28 Jan 2025 12:20:39 -0800 Subject: [PATCH] [CI] Pre-build E2E tests with spirv-backend in precommit --- .github/workflows/sycl-linux-build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/sycl-linux-build.yml b/.github/workflows/sycl-linux-build.yml index 4b5a76e73c6fc..783df163507c9 100644 --- a/.github/workflows/sycl-linux-build.yml +++ b/.github/workflows/sycl-linux-build.yml @@ -279,3 +279,18 @@ jobs: target_devices: all binaries_artifact: ${{ inputs.e2e_binaries_artifact }} cxx_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++ + + - name: Remove E2E tests before spirv-backend run + if: ${{ inputs.e2e_binaries_artifact && always() && !cancelled() && steps.build.conclusion == 'success' }} + run: rm -rf build-e2e + + - name: Build E2E tests with SPIR-V Backend + if: ${{ inputs.e2e_binaries_artifact && always() && !cancelled() && steps.build.conclusion == 'success' }} + uses: ./devops/actions/run-tests/e2e + with: + ref: ${{ inputs.ref || github.sha }} + testing_mode: build-only + target_devices: all + binaries_artifact: ${{ inputs.e2e_binaries_artifact }}_spirv_backend + cxx_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++ + extra_lit_opts: --param spirv-backend=True