Commit 55efc7f
committed
Expand CI build coverage and CMake conformance (#197)
CI changes:
- Add dedicated superproject CMake build with find_package and
subdirectory integration tests (sparse checkout disabled only
for this entry)
- Add clang-tidy step with configure-only CMake (no full build),
checking both src/ and include/ files
- Add multi-platform coverage infrastructure (Linux lcov, macOS
gcovr+llvm-cov, Windows gcovr) with codecov-action@v5
- Add FlameGraph/time-trace variant for Clang
- Generate platform booleans (linux/windows/macos) in matrix
- Gate standalone CMake builds via build-cmake flag from
generate-matrix.py (is_latest/is_earliest)
- Skip B2 for coverage, time-trace, superproject-cmake, and
clang-tidy entries
- Add is_earliest flags to GCC 13, Clang 17, MSVC 14.34,
Apple-Clang macos-15
- Add Set Path/LD_LIBRARY_PATH steps for shared lib integration
tests
CMake changes:
- Use include(CTest) pattern for standalone detection
- Simplify BUILD_TESTS option to use ${BUILD_TESTING} directly
- Use generator expression for shared/static compile definitions
- Update cmake_test to use boost-root subdirectory pattern with
BOOST_INCLUDE_LIBRARIES and EXCLUDE_FROM_ALL
- Add target_compile_features(main PRIVATE cxx_std_20) to cmake_test
- Bump cmake_test minimum version to 3.13...3.311 parent 5cb0a02 commit 55efc7f
5 files changed
Lines changed: 308 additions & 80 deletions
File tree
- .github
- workflows
- test/cmake_test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
76 | | - | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
86 | | - | |
| 89 | + | |
| 90 | + | |
87 | 91 | | |
88 | 92 | | |
89 | 93 | | |
| |||
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
134 | | - | |
| 138 | + | |
| 139 | + | |
135 | 140 | | |
136 | 141 | | |
137 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
34 | 43 | | |
35 | 44 | | |
36 | 45 | | |
| |||
42 | 51 | | |
43 | 52 | | |
44 | 53 | | |
45 | | - | |
| 54 | + | |
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
| |||
57 | 66 | | |
58 | 67 | | |
59 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
60 | 77 | | |
61 | 78 | | |
| 79 | + | |
| 80 | + | |
62 | 81 | | |
63 | 82 | | |
64 | 83 | | |
| |||
113 | 132 | | |
114 | 133 | | |
115 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
116 | 144 | | |
117 | 145 | | |
118 | 146 | | |
| |||
158 | 186 | | |
159 | 187 | | |
160 | 188 | | |
161 | | - | |
162 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
163 | 203 | | |
| 204 | + | |
164 | 205 | | |
165 | 206 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
170 | 219 | | |
171 | 220 | | |
172 | 221 | | |
| |||
186 | 235 | | |
187 | 236 | | |
188 | 237 | | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
189 | 270 | | |
190 | 271 | | |
191 | 272 | | |
192 | 273 | | |
193 | 274 | | |
194 | 275 | | |
195 | 276 | | |
196 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
197 | 281 | | |
198 | 282 | | |
199 | 283 | | |
200 | 284 | | |
201 | 285 | | |
202 | 286 | | |
203 | 287 | | |
204 | | - | |
| 288 | + | |
| 289 | + | |
205 | 290 | | |
206 | 291 | | |
207 | 292 | | |
208 | 293 | | |
209 | 294 | | |
210 | | - | |
| 295 | + | |
| 296 | + | |
211 | 297 | | |
212 | 298 | | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
213 | 302 | | |
214 | 303 | | |
| 304 | + | |
215 | 305 | | |
216 | 306 | | |
217 | 307 | | |
| |||
0 commit comments