Skip to content

Commit 18d3493

Browse files
[CI] Add multi-numa workflow
1 parent f3c2efa commit 18d3493

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

.github/workflows/multi_numa.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Runs tests on multi-numa machine
2+
name: MultiNuma
3+
4+
on: [workflow_call]
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
multi_numa:
11+
name: ${{matrix.os}}
12+
# run only on upstream; forks will not have the HW
13+
if: github.repository == 'oneapi-src/unified-memory-framework'
14+
15+
strategy:
16+
matrix:
17+
os: [ubuntu-22.04, RHEL-9]
18+
runs-on: ["DSS-MULTI-NUMA", "DSS-${{matrix.os}}"]
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
23+
24+
- name: Get information about platform
25+
run: .github/scripts/get_system_info.sh
26+
27+
- name: Configure build
28+
run: >
29+
cmake
30+
-B ${{github.workspace}}/build
31+
-DCMAKE_BUILD_TYPE=Release
32+
-DCMAKE_C_COMPILER=gcc
33+
-DCMAKE_CXX_COMPILER=g++
34+
-DUMF_BUILD_SHARED_LIBRARY=OFF
35+
-DUMF_BUILD_BENCHMARKS=OFF
36+
-DUMF_BUILD_TESTS=ON
37+
-DUMF_DEVELOPER_MODE=ON
38+
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
39+
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
40+
-DUMF_BUILD_LIBUMF_POOL_SCALABLE=ON
41+
-DUMF_ENABLE_POOL_TRACKING=ON
42+
43+
- name: Build UMF
44+
run: cmake --build ${{github.workspace}}/build -j $(nproc)
45+
46+
- name: Run tests
47+
working-directory: ${{github.workspace}}/build
48+
run: ctest --output-on-failure --test-dir test

.github/workflows/pr_push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,6 @@ jobs:
159159
Valgrind:
160160
needs: [Build]
161161
uses: ./.github/workflows/valgrind.yml
162+
MultiNuma:
163+
needs: [Build]
164+
uses: ./.github/workflows/multi_numa.yml

0 commit comments

Comments
 (0)