Skip to content

Commit 224c4fb

Browse files
test only L0 build and no examples, no bench
1 parent a584074 commit 224c4fb

File tree

3 files changed

+5
-69
lines changed

3 files changed

+5
-69
lines changed

.github/workflows/pr_push.yml

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -16,75 +16,8 @@ permissions:
1616
contents: read
1717

1818
jobs:
19-
CodeChecks:
20-
uses: ./.github/workflows/reusable_checks.yml
21-
DocsBuild:
22-
uses: ./.github/workflows/reusable_docs_build.yml
23-
FastBuild:
24-
name: Fast builds
25-
needs: [CodeChecks, DocsBuild]
26-
uses: ./.github/workflows/reusable_fast.yml
27-
Build:
28-
name: Basic builds
29-
needs: [FastBuild]
30-
uses: ./.github/workflows/reusable_basic.yml
31-
DevDax:
32-
needs: [FastBuild]
33-
uses: ./.github/workflows/reusable_dax.yml
34-
MultiNuma:
35-
needs: [FastBuild]
36-
uses: ./.github/workflows/reusable_multi_numa.yml
3719
L0:
38-
needs: [Build]
3920
uses: ./.github/workflows/reusable_gpu.yml
4021
with:
4122
name: "LEVEL_ZERO"
4223
shared_lib: "['ON']"
43-
CUDA:
44-
needs: [Build]
45-
uses: ./.github/workflows/reusable_gpu.yml
46-
with:
47-
name: "CUDA"
48-
shared_lib: "['ON']"
49-
Sanitizers:
50-
needs: [FastBuild]
51-
uses: ./.github/workflows/reusable_sanitizers.yml
52-
QEMU:
53-
needs: [FastBuild]
54-
uses: ./.github/workflows/reusable_qemu.yml
55-
with:
56-
short_run: true
57-
Benchmarks:
58-
needs: [Build]
59-
uses: ./.github/workflows/reusable_benchmarks.yml
60-
ProxyLib:
61-
needs: [Build]
62-
uses: ./.github/workflows/reusable_proxy_lib.yml
63-
Valgrind:
64-
needs: [Build]
65-
uses: ./.github/workflows/reusable_valgrind.yml
66-
Coverage:
67-
# total coverage (on upstream only)
68-
if: github.repository == 'oneapi-src/unified-memory-framework'
69-
needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib]
70-
uses: ./.github/workflows/reusable_coverage.yml
71-
secrets: inherit
72-
with:
73-
trigger: "${{github.event_name}}"
74-
Coverage_partial:
75-
# partial coverage (on forks)
76-
if: github.repository != 'oneapi-src/unified-memory-framework'
77-
needs: [Build, QEMU, ProxyLib]
78-
uses: ./.github/workflows/reusable_coverage.yml
79-
CodeQL:
80-
needs: [Build]
81-
permissions:
82-
contents: read
83-
security-events: write
84-
uses: ./.github/workflows/reusable_codeql.yml
85-
Trivy:
86-
needs: [Build]
87-
permissions:
88-
contents: read
89-
security-events: write
90-
uses: ./.github/workflows/reusable_trivy.yml

.github/workflows/reusable_gpu.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ jobs:
8787
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
8888
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
8989
-DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}}
90-
-DUMF_BUILD_BENCHMARKS=ON
90+
-DUMF_BUILD_BENCHMARKS=OFF
9191
-DUMF_BUILD_TESTS=ON
9292
-DUMF_BUILD_GPU_TESTS=ON
93-
-DUMF_BUILD_GPU_EXAMPLES=ON
93+
-DUMF_BUILD_EXAMPLES=OFF
9494
-DUMF_DEVELOPER_MODE=ON
9595
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
9696
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
@@ -108,10 +108,12 @@ jobs:
108108
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
109109

110110
- name: Run examples
111+
if: false
111112
working-directory: ${{env.BUILD_DIR}}
112113
run: ctest --output-on-failure --test-dir examples -C ${{matrix.build_type}}
113114

114115
- name: Run benchmarks
116+
if: false
115117
working-directory: ${{env.BUILD_DIR}}
116118
run: ctest --output-on-failure --test-dir benchmark -C ${{matrix.build_type}} --exclude-regex umf-bench-multithreaded
117119

test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ endif()
638638
# Tests of examples as standalone projects. TODO: enable this for Windows (maybe
639639
# replace test_examples.sh with CMake script?)
640640
if(LINUX
641+
AND UMF_BUILD_EXAMPLES
641642
AND UMF_BUILD_SHARED_LIBRARY
642643
AND NOT
643644
(UMF_USE_ASAN

0 commit comments

Comments
 (0)