File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -21,23 +21,33 @@ jobs:
21
21
- os : windows-latest
22
22
disjoint : ' OFF'
23
23
build_tests : ' ON'
24
+ simple_cmake : ' OFF'
24
25
# pure C build (Windows)
25
26
- os : windows-latest
26
27
disjoint : ' OFF'
27
28
# Tests' building is off for a pure C build
28
29
build_tests : ' OFF'
30
+ simple_cmake : ' OFF'
29
31
- os : ubuntu-latest
30
32
disjoint : ' ON'
31
33
build_tests : ' ON'
32
34
# Windows doesn't recognize 'CMAKE_BUILD_TYPE', it uses '--config' param in build command
33
35
extra_build_options : ' -DCMAKE_BUILD_TYPE=Release -DUMF_BUILD_BENCHMARKS=ON -DUMF_BUILD_BENCHMARKS_MT=ON'
36
+ simple_cmake : ' OFF'
34
37
# pure C build (Linux)
35
38
- os : ubuntu-latest
36
39
disjoint : ' OFF'
37
40
# Windows doesn't recognize 'CMAKE_BUILD_TYPE', it uses '--config' param in build command
38
41
# Tests' building is off for a pure C build
39
42
build_tests : ' OFF'
40
43
extra_build_options : ' -DCMAKE_BUILD_TYPE=Release -DUMF_BUILD_BENCHMARKS=ON'
44
+ simple_cmake : ' OFF'
45
+ # simplest CMake
46
+ - os : ubuntu-latest
47
+ disjoint : ' OFF'
48
+ build_tests : ' ON'
49
+ extra_build_options : ' -DCMAKE_BUILD_TYPE=Release'
50
+ simple_cmake : ' ON'
41
51
runs-on : ${{matrix.os}}
42
52
43
53
steps :
68
78
run : sudo bash -c "echo 0 > /proc/sys/kernel/yama/ptrace_scope"
69
79
70
80
- name : Configure CMake
81
+ if : matrix.simple_cmake == 'OFF'
71
82
run : >
72
83
cmake
73
84
-B ${{github.workspace}}/build
83
94
-DUMF_TESTS_FAIL_ON_SKIP=ON
84
95
${{matrix.extra_build_options}}
85
96
97
+ - name : Configure CMake (simple)
98
+ if : matrix.simple_cmake == 'ON'
99
+ run : >
100
+ cmake
101
+ -B ${{github.workspace}}/build
102
+ -DUMF_BUILD_LIBUMF_POOL_SCALABLE=ON
103
+ -DUMF_BUILD_SHARED_LIBRARY=ON
104
+ -DUMF_TESTS_FAIL_ON_SKIP=ON
105
+ ${{matrix.extra_build_options}}
106
+
86
107
- name : Build
87
108
run : cmake --build ${{github.workspace}}/build --config Release -j
88
109
You can’t perform that action at this time.
0 commit comments