@@ -60,7 +60,7 @@ Linux/Targeted CC GCC Static:
60
60
CC : gcc
61
61
CXX : g++
62
62
script :
63
- - cmake example/code-coverage-target/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
63
+ - cmake -S example/code-coverage-target/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
64
64
- ninja -C build
65
65
- ninja -C build ccov
66
66
@@ -77,9 +77,9 @@ Linux/Targeted CC GCC Shared:
77
77
variables :
78
78
CC : gcc
79
79
CXX : g++
80
- CMAKE_OPTIONS : -DBUILD_SHARED_LIBS =ON
80
+ CMAKE_OPTIONS : -D BUILD_SHARED_LIBS =ON
81
81
script :
82
- - cmake example/code-coverage-target/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
82
+ - cmake -S example/code-coverage-target/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
83
83
- ninja -C build
84
84
- ninja -C build ccov
85
85
@@ -97,7 +97,7 @@ Linux/Targeted CC Clang Static:
97
97
CC : clang
98
98
CXX : clang++
99
99
script :
100
- - cmake example/code-coverage-target/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
100
+ - cmake -S example/code-coverage-target/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
101
101
- ninja -C build
102
102
- ninja -C build ccov
103
103
- ninja -C build ccov-report
@@ -115,9 +115,9 @@ Linux/Targeted CC Clang Shared:
115
115
variables :
116
116
CC : clang
117
117
CXX : clang++
118
- CMAKE_OPTIONS : -DBUILD_SHARED_LIBS =ON
118
+ CMAKE_OPTIONS : -D BUILD_SHARED_LIBS =ON
119
119
script :
120
- - cmake example/code-coverage-target/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
120
+ - cmake -S example/code-coverage-target/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
121
121
- ninja -C build
122
122
- ninja -C build ccov
123
123
- ninja -C build ccov-report
@@ -131,7 +131,7 @@ macOS/Targeted CC AppleClang Static:
131
131
- macos
132
132
- ${ARCH}
133
133
script :
134
- - cmake example/code-coverage-target/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
134
+ - cmake -S example/code-coverage-target/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
135
135
- ninja -C build
136
136
- ninja -C build ccov
137
137
- ninja -C build ccov-report
@@ -145,9 +145,9 @@ macOS/Targeted CC AppleClang Shared:
145
145
- macos
146
146
- ${ARCH}
147
147
variables :
148
- CMAKE_OPTIONS : -DBUILD_SHARED_LIBS =ON
148
+ CMAKE_OPTIONS : -D BUILD_SHARED_LIBS =ON
149
149
script :
150
- - cmake example/code-coverage-target/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
150
+ - cmake -S example/code-coverage-target/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
151
151
- ninja -C build
152
152
- ninja -C build ccov
153
153
- ninja -C build ccov-report
@@ -164,7 +164,7 @@ macOS/Targeted CC Clang Static:
164
164
CC : clang
165
165
CXX : clang++
166
166
script :
167
- - cmake example/code-coverage-target/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
167
+ - cmake -S example/code-coverage-target/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
168
168
- ninja -C build
169
169
- ninja -C build ccov
170
170
- ninja -C build ccov-report
@@ -180,9 +180,9 @@ macOS/Targeted CC Clang Shared:
180
180
variables :
181
181
CC : clang
182
182
CXX : clang++
183
- CMAKE_OPTIONS : -DBUILD_SHARED_LIBS =ON
183
+ CMAKE_OPTIONS : -D BUILD_SHARED_LIBS =ON
184
184
script :
185
- - cmake example/code-coverage-target/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
185
+ - cmake -S example/code-coverage-target/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
186
186
- ninja -C build
187
187
- ninja -C build ccov
188
188
- ninja -C build ccov-report
@@ -202,7 +202,7 @@ Windows/Targeted CC Clang Static:
202
202
CC : clang
203
203
CXX : clang++
204
204
script :
205
- - cmake example/code-coverage-target/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
205
+ - cmake -S example/code-coverage-target/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
206
206
- ninja -C build
207
207
- ninja -C build ccov
208
208
- ninja -C build ccov-report
@@ -221,9 +221,9 @@ Windows/Targeted CC Clang Shared:
221
221
variables :
222
222
CC : clang
223
223
CXX : clang++
224
- CMAKE_OPTIONS : -DBUILD_SHARED_LIBS =ON
224
+ CMAKE_OPTIONS : -D BUILD_SHARED_LIBS =ON
225
225
script :
226
- - cmake example/code-coverage-target/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
226
+ - cmake -S example/code-coverage-target/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
227
227
- ninja -C build
228
228
- ninja -C build ccov
229
229
- ninja -C build ccov-report
@@ -244,7 +244,7 @@ Linux/All CC GCC Static:
244
244
CC : gcc
245
245
CXX : g++
246
246
script :
247
- - cmake example/code-coverage-all/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
247
+ - cmake -S example/code-coverage-all/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
248
248
- ninja -C build
249
249
- ninja -C build ccov
250
250
- ninja -C build ccov-all
@@ -262,9 +262,9 @@ Linux/All CC GCC Shared:
262
262
variables :
263
263
CC : gcc
264
264
CXX : g++
265
- CMAKE_OPTIONS : -DBUILD_SHARED_LIBS =ON
265
+ CMAKE_OPTIONS : -D BUILD_SHARED_LIBS =ON
266
266
script :
267
- - cmake example/code-coverage-all/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
267
+ - cmake -S example/code-coverage-all/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
268
268
- ninja -C build
269
269
- ninja -C build ccov
270
270
- ninja -C build ccov-all
@@ -283,7 +283,7 @@ Linux/All CC Clang Static:
283
283
CC : clang
284
284
CXX : clang++
285
285
script :
286
- - cmake example/code-coverage-all/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
286
+ - cmake -S example/code-coverage-all/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
287
287
- ninja -C build
288
288
- ninja -C build ccov-all
289
289
- ninja -C build ccov-report
@@ -302,9 +302,9 @@ Linux/All CC Clang Shared:
302
302
variables :
303
303
CC : clang
304
304
CXX : clang++
305
- CMAKE_OPTIONS : -DBUILD_SHARED_LIBS =ON
305
+ CMAKE_OPTIONS : -D BUILD_SHARED_LIBS =ON
306
306
script :
307
- - cmake example/code-coverage-all/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
307
+ - cmake -S example/code-coverage-all/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
308
308
- ninja -C build
309
309
- ninja -C build ccov
310
310
- ninja -C build ccov-all
@@ -320,7 +320,7 @@ macOS/All CC AppleClang Static:
320
320
- macos
321
321
- ${ARCH}
322
322
script :
323
- - cmake example/code-coverage-all/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
323
+ - cmake -S example/code-coverage-all/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
324
324
- ninja -C build
325
325
- ninja -C build ccov-all
326
326
- ninja -C build ccov-report
@@ -335,9 +335,9 @@ macOS/All CC AppleClang Shared:
335
335
- macos
336
336
- ${ARCH}
337
337
variables :
338
- CMAKE_OPTIONS : -DBUILD_SHARED_LIBS =ON
338
+ CMAKE_OPTIONS : -D BUILD_SHARED_LIBS =ON
339
339
script :
340
- - cmake example/code-coverage-all/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
340
+ - cmake -S example/code-coverage-all/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
341
341
- ninja -C build
342
342
- ninja -C build ccov
343
343
- ninja -C build ccov-all
@@ -356,7 +356,7 @@ macOS/All CC Clang Static:
356
356
CC : clang
357
357
CXX : clang++
358
358
script :
359
- - cmake example/code-coverage-all/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
359
+ - cmake -S example/code-coverage-all/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
360
360
- ninja -C build
361
361
- ninja -C build ccov-all
362
362
- ninja -C build ccov-report
@@ -373,9 +373,9 @@ macOS/All CC Clang Shared:
373
373
variables :
374
374
CC : clang
375
375
CXX : clang++
376
- CMAKE_OPTIONS : -DBUILD_SHARED_LIBS =ON
376
+ CMAKE_OPTIONS : -D BUILD_SHARED_LIBS =ON
377
377
script :
378
- - cmake example/code-coverage-all/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
378
+ - cmake -S example/code-coverage-all/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
379
379
- ninja -C build
380
380
- ninja -C build ccov
381
381
- ninja -C build ccov-all
@@ -397,7 +397,7 @@ Windows/All CC Clang Static:
397
397
CC : clang
398
398
CXX : clang++
399
399
script :
400
- - cmake example/code-coverage-all/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
400
+ - cmake -S example/code-coverage-all/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
401
401
- ninja -C build
402
402
- ninja -C build ccov
403
403
- ninja -C build ccov-all
@@ -418,9 +418,9 @@ Windows/All CC Clang Shared:
418
418
variables :
419
419
CC : clang
420
420
CXX : clang++
421
- CMAKE_OPTIONS : -DBUILD_SHARED_LIBS =ON
421
+ CMAKE_OPTIONS : -D BUILD_SHARED_LIBS =ON
422
422
script :
423
- - cmake example/code-coverage-all/ -B build -GNinja -DCMAKE_BUILD_TYPE =Release -DCODE_COVERAGE =ON ${CMAKE_OPTIONS}
423
+ - cmake -S example/code-coverage-all/ -B build -G Ninja -D CMAKE_BUILD_TYPE =Release -D CODE_COVERAGE =ON ${CMAKE_OPTIONS}
424
424
- ninja -C build
425
425
- ninja -C build ccov
426
426
- ninja -C build ccov-all
@@ -440,7 +440,7 @@ Windows/All CC Clang Shared:
440
440
- linux
441
441
- ${ARCH}
442
442
script :
443
- - cmake example/all -B build -GNinja -DCMAKE_BUILD_TYPE=Release ${CMAKE_OPTIONS}
443
+ - cmake -S example/all -B build -G Ninja -D CMAKE_BUILD_TYPE=Debug ${CMAKE_OPTIONS}
444
444
- ninja -C build
445
445
- ctest --test-dir build --output-on-failure ${CTEST_OPTIONS}
446
446
@@ -455,15 +455,15 @@ Windows/All CC Clang Shared:
455
455
- linux
456
456
- ${ARCH}
457
457
script :
458
- - cmake example/all -B build -GNinja -DCMAKE_BUILD_TYPE=Release ${CMAKE_OPTIONS}
458
+ - cmake -S example/all -B build -G Ninja -D CMAKE_BUILD_TYPE=Debug ${CMAKE_OPTIONS}
459
459
- ninja -C build
460
460
- " ! ctest --test-dir build --output-on-failure ${CTEST_OPTIONS}"
461
461
462
462
Linux/Static Analysis :
463
463
variables :
464
464
CC : clang
465
465
CXX : clang++
466
- CMAKE_OPTIONS : -DCLANG_TIDY =ON -DCPPCHECK =ON
466
+ CMAKE_OPTIONS : -D CLANG_TIDY =ON -D CPPCHECK =ON
467
467
<< : *linux_success_template
468
468
469
469
Linux/GCC/ThreadSanitizer :
@@ -532,7 +532,7 @@ Linux/Clang/UndefinedSanitizer:
532
532
- macos
533
533
- ${ARCH}
534
534
script :
535
- - cmake example/all -B build -GNinja -DCMAKE_BUILD_TYPE=Release ${CMAKE_OPTIONS}
535
+ - cmake -S example/all -B build -G Ninja -D CMAKE_BUILD_TYPE=Debug ${CMAKE_OPTIONS}
536
536
- ninja -C build
537
537
- ctest --test-dir build --output-on-failure ${CTEST_OPTIONS}
538
538
@@ -545,7 +545,7 @@ Linux/Clang/UndefinedSanitizer:
545
545
- macos
546
546
- ${ARCH}
547
547
script :
548
- - cmake example/all -B build -GNinja -DCMAKE_BUILD_TYPE=Release ${CMAKE_OPTIONS}
548
+ - cmake -S example/all -B build -G Ninja -D CMAKE_BUILD_TYPE=Debug ${CMAKE_OPTIONS}
549
549
- ninja -C build
550
550
- " ! ctest --test-dir build --output-on-failure ${CTEST_OPTIONS}"
551
551
@@ -606,7 +606,7 @@ Windows/MSVC/Address Sanitizer:
606
606
- ltsc2022
607
607
- ${ARCH}
608
608
script :
609
- - cmake example/all/ -B build -GNinja -D EXAMPLE_USE_SANITIZER=address $env:CMAKE_OPTIONS
609
+ - cmake -S example/all/ -B build -G Ninja -D CMAKE_BUILD_TYPE=Debug -D EXAMPLE_USE_SANITIZER=address $env:CMAKE_OPTIONS
610
610
- ninja -C build
611
611
- ctest --test-dir build --output-on-failure $env:CTEST_OPTIONS ; if ($? -ne 0) { exit 1 } else { exit 0 }
612
612
@@ -681,7 +681,7 @@ Windows/MSVC/Address Sanitizer (LEGACY):
681
681
- ltsc2022
682
682
- ${ARCH}
683
683
script :
684
- - cmake example/all/ -B build -GNinja -D USE_SANITIZER=address
684
+ - cmake -S example/all/ -B build -G Ninja -D USE_SANITIZER=address
685
685
- ninja -C build
686
686
- ctest --test-dir build --output-on-failure $env:CTEST_OPTIONS ; if ($? -ne 0) { exit 1 } else { exit 0 }
687
687
0 commit comments