|  | 
| 62 | 62 |       e2e_binaries_artifact: e2e_bin | 
| 63 | 63 |       e2e_binaries_preview_artifact: e2e_bin_preview | 
| 64 | 64 | 
 | 
|  | 65 | +  # Build and run native cpu e2e tests separately as cannot currently | 
|  | 66 | +  # build all the e2e tests | 
|  | 67 | +  build_run_native_cpu_e2e_tests: | 
|  | 68 | +    if: ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}   | 
|  | 69 | +    runs-on: [Linux, build] | 
|  | 70 | +    needs: [build] | 
|  | 71 | +    container: | 
|  | 72 | +      image: ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest | 
|  | 73 | +      options: -u 1001:1001 | 
|  | 74 | +    steps: | 
|  | 75 | +      - uses: actions/checkout@v4 | 
|  | 76 | +        with: | 
|  | 77 | +          sparse-checkout: | | 
|  | 78 | +            devops/ | 
|  | 79 | +
 | 
|  | 80 | +      # download build artefact | 
|  | 81 | +      - name: Download toolchain | 
|  | 82 | +        uses: actions/download-artifact@v4 | 
|  | 83 | +        with: | 
|  | 84 | +          name: sycl_linux_default | 
|  | 85 | +      - name: Extract SYCL toolchain | 
|  | 86 | +        shell: bash | 
|  | 87 | +        run: | | 
|  | 88 | +          mkdir toolchain | 
|  | 89 | +          tar -xf llvm_sycl.tar.zst -C toolchain | 
|  | 90 | +          rm llvm_sycl.tar.zst | 
|  | 91 | +      - name: Build and run E2E tests | 
|  | 92 | +        uses: ./devops/actions/run-tests/e2e | 
|  | 93 | +        with: | 
|  | 94 | +          ref: ${{ inputs.ref || github.sha }} | 
|  | 95 | +          testing_mode: build-only | 
|  | 96 | +          target_devices: native_cpu | 
|  | 97 | +          sycl_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++ | 
|  | 98 | +          extra_lit_opts: --param sycl_build_targets="native_cpu" | 
|  | 99 | +          extra_cmake_args: -DSYCL_TEST_E2E_TARGETS="native_cpu:cpu" -DSYCL_TEST_E2E_STANDALONE=ON | 
|  | 100 | + | 
| 65 | 101 |   # If a PR changes CUDA adapter, run the build on Ubuntu 22.04 as well. | 
| 66 | 102 |   # Ubuntu 22.04 container has CUDA 12.1 installed while Ubuntu 24.0 image | 
| 67 | 103 |   # has CUDA 12.6.1 installed. | 
|  | 
0 commit comments