|
88 | 88 | image_options: -u 1001 |
89 | 89 | target_devices: opencl:cpu |
90 | 90 | tests_selector: e2e |
91 | | - |
92 | | - - name: SYCL-CTS on OCL CPU |
93 | | - runner: '["Linux", "gen12"]' |
94 | | - image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:latest |
95 | | - image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN |
96 | | - target_devices: opencl:cpu |
97 | | - tests_selector: cts |
98 | | - |
99 | | - - name: SYCL-CTS on L0 gen12 |
100 | | - runner: '["Linux", "gen12"]' |
101 | | - image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:latest |
102 | | - image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN |
103 | | - target_devices: level_zero:gpu |
104 | | - tests_selector: cts |
105 | 91 | uses: ./.github/workflows/sycl-linux-run-tests.yml |
106 | 92 | with: |
107 | 93 | name: ${{ matrix.name }} |
@@ -174,6 +160,57 @@ jobs: |
174 | 160 | with: |
175 | 161 | mode: stop |
176 | 162 |
|
| 163 | + build-sycl-cts: |
| 164 | + needs: ubuntu2204_build |
| 165 | + if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }} |
| 166 | + uses: ./.github/workflows/sycl-linux-run-tests.yml |
| 167 | + with: |
| 168 | + name: Build SYCL-CTS |
| 169 | + runner: '["Linux", "build"]' |
| 170 | + cts_build_only: 'true' |
| 171 | + image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:latest |
| 172 | + image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN |
| 173 | + tests_selector: cts |
| 174 | + ref: ${{ github.sha }} |
| 175 | + sycl_toolchain_artifact: sycl_linux_default |
| 176 | + sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }} |
| 177 | + sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }} |
| 178 | + |
| 179 | + run-sycl-cts: |
| 180 | + needs: [ubuntu2204_build, build-sycl-cts] |
| 181 | + if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }} |
| 182 | + strategy: |
| 183 | + fail-fast: false |
| 184 | + matrix: |
| 185 | + include: |
| 186 | + - name: SYCL-CTS on OCL CPU |
| 187 | + runner: '["Linux", "gen12"]' |
| 188 | + image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:latest |
| 189 | + image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN |
| 190 | + target_devices: opencl:cpu |
| 191 | + tests_selector: cts |
| 192 | + |
| 193 | + - name: SYCL-CTS on L0 gen12 |
| 194 | + runner: '["Linux", "gen12"]' |
| 195 | + image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:latest |
| 196 | + image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN |
| 197 | + target_devices: level_zero:gpu |
| 198 | + tests_selector: cts |
| 199 | + uses: ./.github/workflows/sycl-linux-run-tests.yml |
| 200 | + with: |
| 201 | + name: ${{ matrix.name }} |
| 202 | + runner: ${{ matrix.runner }} |
| 203 | + image: ${{ matrix.image }} |
| 204 | + image_options: ${{ matrix.image_options }} |
| 205 | + target_devices: ${{ matrix.target_devices }} |
| 206 | + tests_selector: ${{ matrix.tests_selector }} |
| 207 | + ref: ${{ github.sha }} |
| 208 | + merge_ref: '' |
| 209 | + sycl_toolchain_artifact: sycl_linux_default |
| 210 | + sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }} |
| 211 | + sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }} |
| 212 | + sycl_cts_artifact: sycl_cts_bin |
| 213 | + |
177 | 214 | nightly_build_upload: |
178 | 215 | name: Nightly Build Upload |
179 | 216 | if: ${{ github.ref_name == 'sycl' }} |
|
0 commit comments