22# This workflow only call other workflows.
33name : PR/push
44
5+ env :
6+ ENABLE_TESTING_JOBS : false
7+
58on :
69 push :
710 branches-ignore :
@@ -16,31 +19,37 @@ permissions:
1619 contents : read
1720
1821jobs :
19- if : false
2022 CodeChecks :
23+ if : $ENABLE_TESTING_JOBS
2124 uses : ./.github/workflows/reusable_checks.yml
2225 FastBuild :
26+ if : $ENABLE_TESTING_JOBS
2327 name : Fast builds
2428 needs : [CodeChecks]
2529 uses : ./.github/workflows/reusable_fast.yml
2630 Build :
31+ if : $ENABLE_TESTING_JOBS
2732 name : Basic builds
2833 needs : [FastBuild]
2934 uses : ./.github/workflows/reusable_basic.yml
3035 DevDax :
36+ if : $ENABLE_TESTING_JOBS
3137 needs : [FastBuild]
3238 uses : ./.github/workflows/reusable_dax.yml
3339 MultiNuma :
40+ if : $ENABLE_TESTING_JOBS
3441 needs : [FastBuild]
3542 uses : ./.github/workflows/reusable_multi_numa.yml
3643 L0 :
44+ if : $ENABLE_TESTING_JOBS
3745 needs : [Build]
3846 uses : ./.github/workflows/reusable_gpu.yml
3947 with :
4048 provider : " LEVEL_ZERO"
4149 runner : " L0"
4250 shared_lib : " ['ON']"
4351 L0-BMG :
52+ if : $ENABLE_TESTING_JOBS
4453 needs : [Build]
4554 uses : ./.github/workflows/reusable_gpu.yml
4655 with :
@@ -49,27 +58,33 @@ if: false
4958 shared_lib : " ['ON']"
5059 os : " ['Ubuntu']"
5160 CUDA :
61+ if : $ENABLE_TESTING_JOBS
5262 needs : [Build]
5363 uses : ./.github/workflows/reusable_gpu.yml
5464 with :
5565 provider : " CUDA"
5666 runner : " CUDA"
5767 shared_lib : " ['ON']"
5868 Sanitizers :
69+ if : $ENABLE_TESTING_JOBS
5970 needs : [FastBuild]
6071 uses : ./.github/workflows/reusable_sanitizers.yml
6172 QEMU :
73+ if : $ENABLE_TESTING_JOBS
6274 needs : [FastBuild]
6375 uses : ./.github/workflows/reusable_qemu.yml
6476 with :
6577 short_run : true
6678 ProxyLib :
79+ if : $ENABLE_TESTING_JOBS
6780 needs : [Build]
6881 uses : ./.github/workflows/reusable_proxy_lib.yml
6982 Valgrind :
83+ if : $ENABLE_TESTING_JOBS
7084 needs : [Build]
7185 uses : ./.github/workflows/reusable_valgrind.yml
7286 Coverage :
87+ if : $ENABLE_TESTING_JOBS
7388 # total coverage (on upstream only)
7489 if : github.repository == 'oneapi-src/unified-memory-framework'
7590 needs : [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib]
@@ -78,11 +93,13 @@ if: false
7893 with :
7994 trigger : " ${{github.event_name}}"
8095 Coverage_partial :
96+ if : $ENABLE_TESTING_JOBS
8197 # partial coverage (on forks)
8298 if : github.repository != 'oneapi-src/unified-memory-framework'
8399 needs : [Build, QEMU, ProxyLib]
84100 uses : ./.github/workflows/reusable_coverage.yml
85101 CodeQL :
102+ if : $ENABLE_TESTING_JOBS
86103 needs : [Build]
87104 permissions :
88105 contents : read
0 commit comments