File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 3
3
env :
4
4
HOMEBREW_NO_INSTALL_CLEANUP : 1
5
5
CTEST_NO_TESTS_ACTION : error
6
+ CMAKE_BUILD_PARALLEL_LEVEL : 4
7
+ CTEST_PARALLEL_LEVEL : 0
6
8
7
9
on :
8
10
push :
44
46
45
47
steps :
46
48
47
- - uses : actions/setup-python@v4
49
+ - uses : actions/setup-python@v5
48
50
with :
49
51
python-version : ' 3.10'
50
52
@@ -108,7 +110,7 @@ jobs:
108
110
109
111
steps :
110
112
- uses : actions/checkout@v4
111
- - uses : actions/setup-python@v4
113
+ - uses : actions/setup-python@v5
112
114
with :
113
115
python-version : ' 3.x'
114
116
@@ -121,12 +123,12 @@ jobs:
121
123
run : pip install gcovr
122
124
123
125
- run : cmake --preset coverage
124
- - run : cmake --build --parallel -- preset coverage
126
+ - run : cmake --build --preset coverage
125
127
126
128
- name : Code coverage
127
- run : cmake --build --parallel -- preset run-coverage
129
+ run : cmake --build --preset run-coverage
128
130
129
- - uses : actions/upload-artifact@v3
131
+ - uses : actions/upload-artifact@v4
130
132
with :
131
133
name : coverage-report-html
132
134
path : build-coverage/coverage/
Original file line number Diff line number Diff line change 1
1
name : build
2
2
3
3
env :
4
- HOMEBREW_NO_INSTALL_CLEANUP : 1
4
+ CMAKE_BUILD_PARALLEL_LEVEL : 4
5
+ CTEST_PARALLEL_LEVEL : 0
6
+ CTEST_NO_TESTS_ACTION : error
5
7
6
8
on :
7
9
push :
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ option(CMAKE_TLS_VERIFY "Verify TLS certificates" true)
12
12
13
13
include (GNUInstallDirs)
14
14
15
- if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT AND PROJECT_IS_TOP_LEVEL)
16
- set_property (CACHE CMAKE_INSTALL_PREFIX PROPERTY VALUE "${PROJECT_BINARY_DIR} /local" )
17
- endif ()
18
-
19
15
set_property (DIRECTORY PROPERTY EP_UPDATE_DISCONNECTED true )
20
16
21
17
if (BUILD_SHARED_LIBS AND MSVC )
You can’t perform that action at this time.
0 commit comments