Skip to content

Commit 0ca53b7

Browse files
committed
Run Valgrind builds with UMF_PROXY_LIB_BASED_ON_POOL=JEMALLOC
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 18f1dcd commit 0ca53b7

File tree

2 files changed

+3
-82
lines changed

2 files changed

+3
-82
lines changed

.github/workflows/pr_push.yml

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -17,88 +17,8 @@ permissions:
1717
packages: read
1818

1919
jobs:
20-
CodeChecks:
21-
uses: ./.github/workflows/reusable_checks.yml
2220
FastBuild:
2321
name: Fast builds
24-
needs: [CodeChecks]
2522
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
6923
Valgrind:
70-
needs: [Build]
7124
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: ["v1.0.0"]
103-
with:
104-
tag: ${{matrix.tag}}

.github/workflows/reusable_valgrind.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,16 @@ jobs:
3434
-DUMF_BUILD_CUDA_PROVIDER=OFF
3535
-DUMF_USE_VALGRIND=1
3636
-DUMF_TESTS_FAIL_ON_SKIP=ON
37+
-DUMF_PROXY_LIB_BASED_ON_POOL=JEMALLOC
3738
3839
- name: Build
3940
run: cmake --build ${{github.workspace}}/build --config Debug -j$(nproc)
4041

4142
- name: Run tests with 'memcheck'
4243
run: ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build memcheck
4344

44-
- name: Run tests with 'drd' ("drdshort" - very long lasting tests are disabled)
45-
run: ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build drdshort
45+
- name: Run tests with 'drd'
46+
run: ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build drd
4647

4748
- name: Run tests with 'helgrind'
4849
run: ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build helgrind

0 commit comments

Comments
 (0)