diff --git a/.github/workflows/sycl-linux-build.yml b/.github/workflows/sycl-linux-build.yml index 4b5a76e73c6f..783df163507c 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