|
1 | | -# # Run checks required for a PR to merge and verify if post-merge commit is valid. |
2 | | -# # This workflow only call other workflows. |
| 1 | +# Run checks required for a PR to merge and verify if post-merge commit is valid. |
| 2 | +# This workflow only call other workflows. |
3 | 3 | name: PR/push |
4 | 4 |
|
5 | 5 | on: |
|
8 | 8 | - 'dependabot/**' |
9 | 9 | pull_request: |
10 | 10 |
|
11 | | - concurrency: |
12 | | - group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} |
13 | | - cancel-in-progress: true |
| 11 | +concurrency: |
| 12 | + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} |
| 13 | + cancel-in-progress: true |
14 | 14 |
|
15 | | - permissions: |
16 | | - contents: read |
| 15 | +permissions: |
| 16 | + contents: read |
17 | 17 |
|
18 | | - jobs: |
19 | | - if: false |
20 | | - CodeChecks: |
21 | | - uses: ./.github/workflows/reusable_checks.yml |
22 | | - FastBuild: |
23 | | - name: Fast builds |
24 | | - needs: [CodeChecks] |
25 | | - uses: ./.github/workflows/reusable_fast.yml |
26 | | - Build: |
27 | | - name: Basic builds |
28 | | - needs: [FastBuild] |
29 | | - uses: ./.github/workflows/reusable_basic.yml |
30 | | - DevDax: |
31 | | - needs: [FastBuild] |
32 | | - uses: ./.github/workflows/reusable_dax.yml |
33 | | - MultiNuma: |
34 | | - needs: [FastBuild] |
35 | | - uses: ./.github/workflows/reusable_multi_numa.yml |
36 | | - L0: |
37 | | - needs: [Build] |
38 | | - uses: ./.github/workflows/reusable_gpu.yml |
39 | | - with: |
40 | | - provider: "LEVEL_ZERO" |
41 | | - runner: "L0" |
42 | | - shared_lib: "['ON']" |
43 | | - L0-BMG: |
44 | | - needs: [Build] |
45 | | - uses: ./.github/workflows/reusable_gpu.yml |
46 | | - with: |
47 | | - provider: "LEVEL_ZERO" |
48 | | - runner: "L0-BMG" |
49 | | - shared_lib: "['ON']" |
50 | | - os: "['Ubuntu']" |
51 | | - CUDA: |
52 | | - needs: [Build] |
53 | | - uses: ./.github/workflows/reusable_gpu.yml |
54 | | - with: |
55 | | - provider: "CUDA" |
56 | | - runner: "CUDA" |
57 | | - shared_lib: "['ON']" |
58 | | - Sanitizers: |
59 | | - needs: [FastBuild] |
60 | | - uses: ./.github/workflows/reusable_sanitizers.yml |
61 | | - QEMU: |
62 | | - needs: [FastBuild] |
63 | | - uses: ./.github/workflows/reusable_qemu.yml |
64 | | - with: |
65 | | - short_run: true |
66 | | - ProxyLib: |
67 | | - needs: [Build] |
68 | | - uses: ./.github/workflows/reusable_proxy_lib.yml |
69 | | - Valgrind: |
70 | | - needs: [Build] |
71 | | - uses: ./.github/workflows/reusable_valgrind.yml |
72 | | - Coverage: |
73 | | - # total coverage (on upstream only) |
74 | | - if: github.repository == 'oneapi-src/unified-memory-framework' |
75 | | - needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] |
76 | | - uses: ./.github/workflows/reusable_coverage.yml |
77 | | - secrets: inherit |
78 | | - with: |
79 | | - trigger: "${{github.event_name}}" |
80 | | - Coverage_partial: |
81 | | - # partial coverage (on forks) |
82 | | - if: github.repository != 'oneapi-src/unified-memory-framework' |
83 | | - needs: [Build, QEMU, ProxyLib] |
84 | | - uses: ./.github/workflows/reusable_coverage.yml |
85 | | - CodeQL: |
86 | | - needs: [Build] |
87 | | - permissions: |
88 | | - contents: read |
89 | | - security-events: write |
90 | | - uses: ./.github/workflows/reusable_codeql.yml |
91 | | - Trivy: |
92 | | - needs: [Build] |
93 | | - permissions: |
94 | | - contents: read |
95 | | - security-events: write |
96 | | - uses: ./.github/workflows/reusable_trivy.yml |
97 | | - Compatibility: |
98 | | - needs: [Build] |
99 | | - uses: ./.github/workflows/reusable_compatibility.yml |
100 | | - strategy: |
101 | | - matrix: |
102 | | - tag: ["v0.11.0-rc1"] |
103 | | - with: |
104 | | - tag: ${{matrix.tag}} |
| 18 | +jobs: |
| 19 | + CodeChecks: |
| 20 | + uses: ./.github/workflows/reusable_checks.yml |
| 21 | + FastBuild: |
| 22 | + name: Fast builds |
| 23 | + needs: [CodeChecks] |
| 24 | + uses: ./.github/workflows/reusable_fast.yml |
| 25 | + Build: |
| 26 | + name: Basic builds |
| 27 | + needs: [FastBuild] |
| 28 | + uses: ./.github/workflows/reusable_basic.yml |
| 29 | + DevDax: |
| 30 | + needs: [FastBuild] |
| 31 | + uses: ./.github/workflows/reusable_dax.yml |
| 32 | + MultiNuma: |
| 33 | + needs: [FastBuild] |
| 34 | + uses: ./.github/workflows/reusable_multi_numa.yml |
| 35 | + L0: |
| 36 | + needs: [Build] |
| 37 | + uses: ./.github/workflows/reusable_gpu.yml |
| 38 | + with: |
| 39 | + provider: "LEVEL_ZERO" |
| 40 | + runner: "L0" |
| 41 | + shared_lib: "['ON']" |
| 42 | + L0-BMG: |
| 43 | + needs: [Build] |
| 44 | + uses: ./.github/workflows/reusable_gpu.yml |
| 45 | + with: |
| 46 | + provider: "LEVEL_ZERO" |
| 47 | + runner: "L0-BMG" |
| 48 | + shared_lib: "['ON']" |
| 49 | + os: "['Ubuntu']" |
| 50 | + CUDA: |
| 51 | + needs: [Build] |
| 52 | + uses: ./.github/workflows/reusable_gpu.yml |
| 53 | + with: |
| 54 | + provider: "CUDA" |
| 55 | + runner: "CUDA" |
| 56 | + shared_lib: "['ON']" |
| 57 | + Sanitizers: |
| 58 | + needs: [FastBuild] |
| 59 | + uses: ./.github/workflows/reusable_sanitizers.yml |
| 60 | + QEMU: |
| 61 | + needs: [FastBuild] |
| 62 | + uses: ./.github/workflows/reusable_qemu.yml |
| 63 | + with: |
| 64 | + short_run: true |
| 65 | + ProxyLib: |
| 66 | + needs: [Build] |
| 67 | + uses: ./.github/workflows/reusable_proxy_lib.yml |
| 68 | + Valgrind: |
| 69 | + needs: [Build] |
| 70 | + uses: ./.github/workflows/reusable_valgrind.yml |
| 71 | + Coverage: |
| 72 | + # total coverage (on upstream only) |
| 73 | + if: github.repository == 'oneapi-src/unified-memory-framework' |
| 74 | + needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib] |
| 75 | + uses: ./.github/workflows/reusable_coverage.yml |
| 76 | + secrets: inherit |
| 77 | + with: |
| 78 | + trigger: "${{github.event_name}}" |
| 79 | + Coverage_partial: |
| 80 | + # partial coverage (on forks) |
| 81 | + if: github.repository != 'oneapi-src/unified-memory-framework' |
| 82 | + needs: [Build, QEMU, ProxyLib] |
| 83 | + uses: ./.github/workflows/reusable_coverage.yml |
| 84 | + CodeQL: |
| 85 | + needs: [Build] |
| 86 | + permissions: |
| 87 | + contents: read |
| 88 | + security-events: write |
| 89 | + uses: ./.github/workflows/reusable_codeql.yml |
| 90 | + Trivy: |
| 91 | + needs: [Build] |
| 92 | + permissions: |
| 93 | + contents: read |
| 94 | + security-events: write |
| 95 | + uses: ./.github/workflows/reusable_trivy.yml |
| 96 | + Compatibility: |
| 97 | + needs: [Build] |
| 98 | + uses: ./.github/workflows/reusable_compatibility.yml |
| 99 | + strategy: |
| 100 | + matrix: |
| 101 | + tag: ["v0.11.0-rc1"] |
| 102 | + with: |
| 103 | + tag: ${{matrix.tag}} |
0 commit comments