File tree Expand file tree Collapse file tree 6 files changed +72
-4
lines changed Expand file tree Collapse file tree 6 files changed +72
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : BasicBuilds
2
2
3
- on : [push, pull_request, workflow_call]
3
+ on : workflow_call
4
4
5
5
env :
6
6
BUILD_DIR : " ${{github.workspace}}/build/"
Original file line number Diff line number Diff line change 1
1
name : Benchmarks
2
2
3
- on : [push, pull_request, workflow_call]
3
+ on : workflow_call
4
4
5
5
jobs :
6
6
ubuntu-build :
Original file line number Diff line number Diff line change 1
1
name : CodeQL
2
2
3
- on : [push, pull_request, workflow_call]
3
+ on : workflow_call
4
4
5
5
concurrency :
6
6
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Original file line number Diff line number Diff line change
1
+ name : Fast build
2
+
3
+ on : workflow_call
4
+
5
+ concurrency :
6
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7
+ cancel-in-progress : true
8
+
9
+ jobs :
10
+ build :
11
+ name : Fast build
12
+ strategy :
13
+ matrix :
14
+ os : [ubuntu-latest, windows-latest]
15
+ include :
16
+ - os : ubuntu-latest
17
+ nproc : $(nproc)
18
+ pool_scalable : ' ON'
19
+ - os : windows-latest
20
+ nproc : $Env:NUMBER_OF_PROCESSORS
21
+ pool_scalable : ' OFF'
22
+ runs-on : ${{matrix.os}}
23
+
24
+ steps :
25
+ - name : Checkout repository
26
+ uses : actions/checkout@v4
27
+
28
+ - name : Install apt packages
29
+ if : matrix.os == 'ubuntu-latest'
30
+ run : |
31
+ sudo apt-get update
32
+ sudo apt-get install -y cmake clang libnuma-dev libjemalloc-dev libtbb-dev
33
+
34
+ - name : Install pip packages
35
+ run : python3 -m pip install -r third_party/requirements.txt
36
+
37
+ - name : Configure CMake
38
+ run : >
39
+ cmake
40
+ -B ${{github.workspace}}/build
41
+ -DCMAKE_BUILD_TYPE=Release
42
+ -DUMF_FORMAT_CODE_STYLE=ON
43
+ -DUMF_DEVELOPER_MODE=ON
44
+ -DUMF_ENABLE_POOL_TRACKING=ON
45
+ -DUMF_BUILD_LIBUMF_POOL_SCALABLE=${{matrix.pool_scalable}}
46
+
47
+ - name : Build
48
+ run : >
49
+ cmake --build ${{github.workspace}}/build --config Release -j ${{matrix.nproc}}
Original file line number Diff line number Diff line change
1
+ name : PR/push workflow
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ Fast_build :
7
+ uses : oneapi-src/unified-memory-framework/.github/workflows/fast_build.yml@main
8
+ CodeQL :
9
+ needs : [Fast_build]
10
+ uses : oneapi-src/unified-memory-framework/.github/workflows/codeql.yml@main
11
+ Spellcheck :
12
+ needs : [Fast_build]
13
+ uses : oneapi-src/unified-memory-framework/.github/workflows/spellcheck.yml@main
14
+ Build :
15
+ needs : [CodeQL, Spellcheck]
16
+ uses : oneapi-src/unified-memory-framework/.github/workflows/basic.yml@main
17
+ Benchmark :
18
+ needs : [Build]
19
+ uses : oneapi-src/unified-memory-framework/.github/workflows/benchmarks.yml@main
Original file line number Diff line number Diff line change 1
1
name : SpellCheck
2
2
3
- on : [push, pull_request, workflow_call]
3
+ on : workflow_call
4
4
5
5
jobs :
6
6
build :
You can’t perform that action at this time.
0 commit comments