|
80 | 80 | image_options: -u 1001 --privileged --cap-add SYS_ADMIN |
81 | 81 | target_devices: opencl:cpu |
82 | 82 | tests_selector: e2e |
83 | | - |
84 | | - - name: SYCL-CTS on OCL CPU |
85 | | - runner: '["Linux", "gen12"]' |
86 | | - image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN |
87 | | - target_devices: opencl:cpu |
88 | | - tests_selector: cts |
89 | | - |
90 | | - - name: SYCL-CTS on L0 gen12 |
91 | | - runner: '["Linux", "gen12"]' |
92 | | - image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN |
93 | | - target_devices: level_zero:gpu |
94 | | - tests_selector: cts |
95 | 83 | uses: ./.github/workflows/sycl-linux-run-tests.yml |
96 | 84 | with: |
97 | 85 | name: ${{ matrix.name }} |
@@ -168,3 +156,50 @@ jobs: |
168 | 156 | with: |
169 | 157 | mode: stop |
170 | 158 | ref: sycl-rel-6_0_0 |
| 159 | + |
| 160 | + build-sycl-cts: |
| 161 | + needs: ubuntu2204_build |
| 162 | + if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }} |
| 163 | + uses: ./.github/workflows/sycl-linux-run-tests.yml |
| 164 | + with: |
| 165 | + name: Build SYCL-CTS |
| 166 | + runner: '["Linux", "build"]' |
| 167 | + cts_testing_mode: 'build-only' |
| 168 | + image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN |
| 169 | + tests_selector: cts |
| 170 | + ref: sycl-rel-6_0_0 |
| 171 | + devops_ref: sycl |
| 172 | + sycl_toolchain_artifact: sycl_linux_default |
| 173 | + sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }} |
| 174 | + sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }} |
| 175 | + |
| 176 | + run-sycl-cts: |
| 177 | + needs: [ubuntu2204_build, build-sycl-cts] |
| 178 | + if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }} |
| 179 | + strategy: |
| 180 | + fail-fast: false |
| 181 | + matrix: |
| 182 | + include: |
| 183 | + - name: SYCL-CTS on OCL CPU |
| 184 | + runner: '["Linux", "gen12"]' |
| 185 | + image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN |
| 186 | + target_devices: opencl:cpu |
| 187 | + |
| 188 | + - name: SYCL-CTS on L0 gen12 |
| 189 | + runner: '["Linux", "gen12"]' |
| 190 | + image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN |
| 191 | + target_devices: level_zero:gpu |
| 192 | + uses: ./.github/workflows/sycl-linux-run-tests.yml |
| 193 | + with: |
| 194 | + name: ${{ matrix.name }} |
| 195 | + runner: ${{ matrix.runner }} |
| 196 | + cts_testing_mode: 'run-only' |
| 197 | + image_options: ${{ matrix.image_options }} |
| 198 | + target_devices: ${{ matrix.target_devices }} |
| 199 | + tests_selector: cts |
| 200 | + ref: ${{ github.sha }} |
| 201 | + devops_ref: sycl |
| 202 | + sycl_toolchain_artifact: sycl_linux_default |
| 203 | + sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }} |
| 204 | + sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }} |
| 205 | + sycl_cts_artifact: sycl_cts_bin |
0 commit comments