Skip to content

Commit b5838db

Browse files
committed
ci: latest actions
1 parent a1d91b5 commit b5838db

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: ci
33
env:
44
HOMEBREW_NO_INSTALL_CLEANUP: 1
55
CTEST_NO_TESTS_ACTION: error
6+
CMAKE_BUILD_PARALLEL_LEVEL: 4
7+
CTEST_PARALLEL_LEVEL: 0
68

79
on:
810
push:
@@ -44,7 +46,7 @@ jobs:
4446

4547
steps:
4648

47-
- uses: actions/setup-python@v4
49+
- uses: actions/setup-python@v5
4850
with:
4951
python-version: '3.10'
5052

@@ -108,7 +110,7 @@ jobs:
108110

109111
steps:
110112
- uses: actions/checkout@v4
111-
- uses: actions/setup-python@v4
113+
- uses: actions/setup-python@v5
112114
with:
113115
python-version: '3.x'
114116

@@ -121,12 +123,12 @@ jobs:
121123
run: pip install gcovr
122124

123125
- run: cmake --preset coverage
124-
- run: cmake --build --parallel --preset coverage
126+
- run: cmake --build --preset coverage
125127

126128
- name: Code coverage
127-
run: cmake --build --parallel --preset run-coverage
129+
run: cmake --build --preset run-coverage
128130

129-
- uses: actions/upload-artifact@v3
131+
- uses: actions/upload-artifact@v4
130132
with:
131133
name: coverage-report-html
132134
path: build-coverage/coverage/

.github/workflows/ci_build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: build
22

33
env:
4-
HOMEBREW_NO_INSTALL_CLEANUP: 1
4+
CMAKE_BUILD_PARALLEL_LEVEL: 4
5+
CTEST_PARALLEL_LEVEL: 0
6+
CTEST_NO_TESTS_ACTION: error
57

68
on:
79
push:

options.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ option(CMAKE_TLS_VERIFY "Verify TLS certificates" true)
1212

1313
include(GNUInstallDirs)
1414

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-
1915
set_property(DIRECTORY PROPERTY EP_UPDATE_DISCONNECTED true)
2016

2117
if(BUILD_SHARED_LIBS AND MSVC)

0 commit comments

Comments
 (0)