|
1 | | -name: SYCL Pre Commit on Windows |
| 1 | +# name: SYCL Pre Commit on Windows |
2 | 2 |
|
3 | | -on: |
4 | | - pull_request: |
5 | | - branches: |
6 | | - - sycl |
7 | | - - llvmspirv_pulldown |
8 | | - - sycl-rel-** |
9 | | - # Do not run builds if changes are only in the following locations |
10 | | - # Note: benchmark-related paths are the same as in sycl-ur-perf-benchmarking.yml (to run there instead) |
11 | | - paths-ignore: |
12 | | - - '.github/ISSUE_TEMPLATE/**' |
13 | | - - '.github/CODEOWNERS' |
14 | | - - 'sycl/cts_exclude_filter/**' |
15 | | - - 'sycl/doc/**' |
16 | | - - 'sycl/gdb/**' |
17 | | - - 'clang/docs/**' |
18 | | - - '**.md' |
19 | | - - '**.rst' |
20 | | - - '.github/workflows/sycl-linux-*.yml' |
21 | | - - '.github/workflows/sycl-precommit-aws.yml' |
22 | | - - '.github/workflows/sycl-macos-*.yml' |
23 | | - - '.github/workflows/sycl-nightly.yml' |
24 | | - - '.github/workflows/sycl-rel-nightly.yml' |
25 | | - - '.github/workflows/sycl-rel-nightly-launch.yml' |
26 | | - - '.github/workflows/sycl-trivy.yml' |
27 | | - - '.github/workflows/sycl-coverity.yml' |
28 | | - - 'devops/containers/**' |
29 | | - - 'devops/actions/build_container/**' |
30 | | - - 'devops/compat_ci_exclude.sycl-rel-6_2' |
31 | | - - 'unified-runtime/examples/**' |
32 | | - - 'unified-runtime/scripts/**' |
33 | | - - 'unified-runtime/test/**' |
34 | | - - 'unified-runtime/third_party/**' |
35 | | - - 'unified-runtime/tools/**' |
36 | | - - 'devops/scripts/benchmarks/**' |
37 | | - - 'devops/actions/run-tests/benchmark/**' |
38 | | - - '.github/workflows/sycl-ur-perf-benchmarking.yml' |
| 3 | +# on: |
| 4 | +# pull_request: |
| 5 | +# branches: |
| 6 | +# - sycl |
| 7 | +# - llvmspirv_pulldown |
| 8 | +# - sycl-rel-** |
| 9 | +# # Do not run builds if changes are only in the following locations |
| 10 | +# # Note: benchmark-related paths are the same as in sycl-ur-perf-benchmarking.yml (to run there instead) |
| 11 | +# paths-ignore: |
| 12 | +# - '.github/ISSUE_TEMPLATE/**' |
| 13 | +# - '.github/CODEOWNERS' |
| 14 | +# - 'sycl/cts_exclude_filter/**' |
| 15 | +# - 'sycl/doc/**' |
| 16 | +# - 'sycl/gdb/**' |
| 17 | +# - 'clang/docs/**' |
| 18 | +# - '**.md' |
| 19 | +# - '**.rst' |
| 20 | +# - '.github/workflows/sycl-linux-*.yml' |
| 21 | +# - '.github/workflows/sycl-precommit-aws.yml' |
| 22 | +# - '.github/workflows/sycl-macos-*.yml' |
| 23 | +# - '.github/workflows/sycl-nightly.yml' |
| 24 | +# - '.github/workflows/sycl-rel-nightly.yml' |
| 25 | +# - '.github/workflows/sycl-rel-nightly-launch.yml' |
| 26 | +# - '.github/workflows/sycl-trivy.yml' |
| 27 | +# - '.github/workflows/sycl-coverity.yml' |
| 28 | +# - 'devops/containers/**' |
| 29 | +# - 'devops/actions/build_container/**' |
| 30 | +# - 'devops/compat_ci_exclude.sycl-rel-6_2' |
| 31 | +# - 'unified-runtime/examples/**' |
| 32 | +# - 'unified-runtime/scripts/**' |
| 33 | +# - 'unified-runtime/test/**' |
| 34 | +# - 'unified-runtime/third_party/**' |
| 35 | +# - 'unified-runtime/tools/**' |
| 36 | +# - 'devops/scripts/benchmarks/**' |
| 37 | +# - 'devops/actions/run-tests/benchmark/**' |
| 38 | +# - '.github/workflows/sycl-ur-perf-benchmarking.yml' |
39 | 39 |
|
40 | | -permissions: read-all |
| 40 | +# permissions: read-all |
41 | 41 |
|
42 | | -concurrency: |
43 | | - # Cancel a currently running workflow from the same PR, branch or tag. |
44 | | - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
45 | | - cancel-in-progress: true |
| 42 | +# concurrency: |
| 43 | +# # Cancel a currently running workflow from the same PR, branch or tag. |
| 44 | +# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} |
| 45 | +# cancel-in-progress: true |
46 | 46 |
|
47 | | -jobs: |
48 | | - detect_changes: |
49 | | - uses: ./.github/workflows/sycl-detect-changes.yml |
| 47 | +# jobs: |
| 48 | +# detect_changes: |
| 49 | +# uses: ./.github/workflows/sycl-detect-changes.yml |
50 | 50 |
|
51 | | - build: |
52 | | - needs: [detect_changes] |
53 | | - if: | |
54 | | - success() |
55 | | - && github.repository == 'intel/llvm' |
56 | | - uses: ./.github/workflows/sycl-windows-build.yml |
57 | | - with: |
58 | | - changes: ${{ needs.detect_changes.outputs.filters }} |
59 | | - e2e_binaries_artifact: sycl_windows_e2ebin |
| 51 | +# build: |
| 52 | +# needs: [detect_changes] |
| 53 | +# if: | |
| 54 | +# success() |
| 55 | +# && github.repository == 'intel/llvm' |
| 56 | +# uses: ./.github/workflows/sycl-windows-build.yml |
| 57 | +# with: |
| 58 | +# changes: ${{ needs.detect_changes.outputs.filters }} |
| 59 | +# e2e_binaries_artifact: sycl_windows_e2ebin |
60 | 60 |
|
61 | | - run_prebuilt_e2e_tests: |
62 | | - needs: build |
63 | | - # Continue if build was successful. |
64 | | - if: | |
65 | | - !cancelled() |
66 | | - && needs.build.outputs.build_conclusion == 'success' |
67 | | - strategy: |
68 | | - fail-fast: false |
69 | | - matrix: |
70 | | - include: |
71 | | - - name: Intel GEN12 Graphics with Level Zero |
72 | | - runner: '["Windows","gen12"]' |
73 | | - - name: Intel Arc Graphics with Level Zero |
74 | | - runner: '["Windows","arc"]' |
75 | | - - name: Intel Battlemage Graphics with Level Zero |
76 | | - runner: '["Windows","bmg"]' |
77 | | - uses: ./.github/workflows/sycl-windows-run-tests.yml |
78 | | - with: |
79 | | - name: ${{ matrix.name }} |
80 | | - runner: ${{ matrix.runner }} |
81 | | - target_devices: "level_zero:gpu" |
82 | | - toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }} |
83 | | - testing_mode: run-only |
84 | | - binaries_artifact: sycl_windows_e2ebin |
| 61 | +# run_prebuilt_e2e_tests: |
| 62 | +# needs: build |
| 63 | +# # Continue if build was successful. |
| 64 | +# if: | |
| 65 | +# !cancelled() |
| 66 | +# && needs.build.outputs.build_conclusion == 'success' |
| 67 | +# strategy: |
| 68 | +# fail-fast: false |
| 69 | +# matrix: |
| 70 | +# include: |
| 71 | +# - name: Intel GEN12 Graphics with Level Zero |
| 72 | +# runner: '["Windows","gen12"]' |
| 73 | +# - name: Intel Arc Graphics with Level Zero |
| 74 | +# runner: '["Windows","arc"]' |
| 75 | +# - name: Intel Battlemage Graphics with Level Zero |
| 76 | +# runner: '["Windows","bmg"]' |
| 77 | +# uses: ./.github/workflows/sycl-windows-run-tests.yml |
| 78 | +# with: |
| 79 | +# name: ${{ matrix.name }} |
| 80 | +# runner: ${{ matrix.runner }} |
| 81 | +# target_devices: "level_zero:gpu" |
| 82 | +# toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }} |
| 83 | +# testing_mode: run-only |
| 84 | +# binaries_artifact: sycl_windows_e2ebin |
0 commit comments