|
66 | 66 | "inherits": "windows-base", |
67 | 67 | "binaryDir": "${sourceDir}/build-release", |
68 | 68 | "cacheVariables": { |
69 | | - "CMAKE_BUILD_TYPE": "Release" |
| 69 | + "CMAKE_BUILD_TYPE": "Release", |
| 70 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 71 | + "LIVEKIT_BUILD_TESTS": "OFF" |
70 | 72 | } |
71 | 73 | }, |
72 | 74 | { |
|
76 | 78 | "inherits": "windows-base", |
77 | 79 | "binaryDir": "${sourceDir}/build-debug", |
78 | 80 | "cacheVariables": { |
79 | | - "CMAKE_BUILD_TYPE": "Debug" |
| 81 | + "CMAKE_BUILD_TYPE": "Debug", |
| 82 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 83 | + "LIVEKIT_BUILD_TESTS": "OFF" |
80 | 84 | } |
81 | 85 | }, |
82 | 86 | { |
|
88 | 92 | "cacheVariables": { |
89 | 93 | "CMAKE_BUILD_TYPE": "Release", |
90 | 94 | "LIVEKIT_BUILD_EXAMPLES": "ON", |
| 95 | + "LIVEKIT_BUILD_TESTS": "OFF", |
91 | 96 | "VCPKG_MANIFEST_FEATURES": "examples" |
92 | 97 | } |
93 | 98 | }, |
|
100 | 105 | "cacheVariables": { |
101 | 106 | "CMAKE_BUILD_TYPE": "Debug", |
102 | 107 | "LIVEKIT_BUILD_EXAMPLES": "ON", |
| 108 | + "LIVEKIT_BUILD_TESTS": "OFF", |
103 | 109 | "VCPKG_MANIFEST_FEATURES": "examples" |
104 | 110 | } |
105 | 111 | }, |
|
110 | 116 | "inherits": "linux-base", |
111 | 117 | "binaryDir": "${sourceDir}/build-release", |
112 | 118 | "cacheVariables": { |
113 | | - "CMAKE_BUILD_TYPE": "Release" |
| 119 | + "CMAKE_BUILD_TYPE": "Release", |
| 120 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 121 | + "LIVEKIT_BUILD_TESTS": "OFF" |
114 | 122 | } |
115 | 123 | }, |
116 | 124 | { |
|
120 | 128 | "inherits": "linux-base", |
121 | 129 | "binaryDir": "${sourceDir}/build-debug", |
122 | 130 | "cacheVariables": { |
123 | | - "CMAKE_BUILD_TYPE": "Debug" |
| 131 | + "CMAKE_BUILD_TYPE": "Debug", |
| 132 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 133 | + "LIVEKIT_BUILD_TESTS": "OFF" |
124 | 134 | } |
125 | 135 | }, |
126 | 136 | { |
|
131 | 141 | "binaryDir": "${sourceDir}/build-release", |
132 | 142 | "cacheVariables": { |
133 | 143 | "CMAKE_BUILD_TYPE": "Release", |
134 | | - "LIVEKIT_BUILD_EXAMPLES": "ON" |
| 144 | + "LIVEKIT_BUILD_EXAMPLES": "ON", |
| 145 | + "LIVEKIT_BUILD_TESTS": "OFF" |
135 | 146 | } |
136 | 147 | }, |
137 | 148 | { |
|
142 | 153 | "binaryDir": "${sourceDir}/build-debug", |
143 | 154 | "cacheVariables": { |
144 | 155 | "CMAKE_BUILD_TYPE": "Debug", |
145 | | - "LIVEKIT_BUILD_EXAMPLES": "ON" |
| 156 | + "LIVEKIT_BUILD_EXAMPLES": "ON", |
| 157 | + "LIVEKIT_BUILD_TESTS": "OFF" |
146 | 158 | } |
147 | 159 | }, |
148 | 160 | { |
|
152 | 164 | "inherits": "macos-base", |
153 | 165 | "binaryDir": "${sourceDir}/build-release", |
154 | 166 | "cacheVariables": { |
155 | | - "CMAKE_BUILD_TYPE": "Release" |
| 167 | + "CMAKE_BUILD_TYPE": "Release", |
| 168 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 169 | + "LIVEKIT_BUILD_TESTS": "OFF" |
156 | 170 | } |
157 | 171 | }, |
158 | 172 | { |
|
162 | 176 | "inherits": "macos-base", |
163 | 177 | "binaryDir": "${sourceDir}/build-debug", |
164 | 178 | "cacheVariables": { |
165 | | - "CMAKE_BUILD_TYPE": "Debug" |
| 179 | + "CMAKE_BUILD_TYPE": "Debug", |
| 180 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 181 | + "LIVEKIT_BUILD_TESTS": "OFF" |
166 | 182 | } |
167 | 183 | }, |
168 | 184 | { |
|
173 | 189 | "binaryDir": "${sourceDir}/build-release", |
174 | 190 | "cacheVariables": { |
175 | 191 | "CMAKE_BUILD_TYPE": "Release", |
176 | | - "LIVEKIT_BUILD_EXAMPLES": "ON" |
| 192 | + "LIVEKIT_BUILD_EXAMPLES": "ON", |
| 193 | + "LIVEKIT_BUILD_TESTS": "OFF" |
177 | 194 | } |
178 | 195 | }, |
179 | 196 | { |
|
184 | 201 | "binaryDir": "${sourceDir}/build-debug", |
185 | 202 | "cacheVariables": { |
186 | 203 | "CMAKE_BUILD_TYPE": "Debug", |
187 | | - "LIVEKIT_BUILD_EXAMPLES": "ON" |
| 204 | + "LIVEKIT_BUILD_EXAMPLES": "ON", |
| 205 | + "LIVEKIT_BUILD_TESTS": "OFF" |
| 206 | + } |
| 207 | + }, |
| 208 | + { |
| 209 | + "name": "windows-release-tests", |
| 210 | + "displayName": "Windows x64 Release with Tests", |
| 211 | + "description": "Build for Windows x64 Release with test suite", |
| 212 | + "inherits": "windows-base", |
| 213 | + "binaryDir": "${sourceDir}/build-release", |
| 214 | + "cacheVariables": { |
| 215 | + "CMAKE_BUILD_TYPE": "Release", |
| 216 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 217 | + "LIVEKIT_BUILD_TESTS": "ON" |
| 218 | + } |
| 219 | + }, |
| 220 | + { |
| 221 | + "name": "windows-debug-tests", |
| 222 | + "displayName": "Windows x64 Debug with Tests", |
| 223 | + "description": "Build for Windows x64 Debug with test suite", |
| 224 | + "inherits": "windows-base", |
| 225 | + "binaryDir": "${sourceDir}/build-debug", |
| 226 | + "cacheVariables": { |
| 227 | + "CMAKE_BUILD_TYPE": "Debug", |
| 228 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 229 | + "LIVEKIT_BUILD_TESTS": "ON" |
| 230 | + } |
| 231 | + }, |
| 232 | + { |
| 233 | + "name": "linux-release-tests", |
| 234 | + "displayName": "Linux Release with Tests", |
| 235 | + "description": "Build for Linux Release with test suite", |
| 236 | + "inherits": "linux-base", |
| 237 | + "binaryDir": "${sourceDir}/build-release", |
| 238 | + "cacheVariables": { |
| 239 | + "CMAKE_BUILD_TYPE": "Release", |
| 240 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 241 | + "LIVEKIT_BUILD_TESTS": "ON" |
| 242 | + } |
| 243 | + }, |
| 244 | + { |
| 245 | + "name": "linux-debug-tests", |
| 246 | + "displayName": "Linux Debug with Tests", |
| 247 | + "description": "Build for Linux Debug with test suite", |
| 248 | + "inherits": "linux-base", |
| 249 | + "binaryDir": "${sourceDir}/build-debug", |
| 250 | + "cacheVariables": { |
| 251 | + "CMAKE_BUILD_TYPE": "Debug", |
| 252 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 253 | + "LIVEKIT_BUILD_TESTS": "ON" |
| 254 | + } |
| 255 | + }, |
| 256 | + { |
| 257 | + "name": "macos-release-tests", |
| 258 | + "displayName": "macOS Release with Tests", |
| 259 | + "description": "Build for macOS Release with test suite", |
| 260 | + "inherits": "macos-base", |
| 261 | + "binaryDir": "${sourceDir}/build-release", |
| 262 | + "cacheVariables": { |
| 263 | + "CMAKE_BUILD_TYPE": "Release", |
| 264 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 265 | + "LIVEKIT_BUILD_TESTS": "ON" |
| 266 | + } |
| 267 | + }, |
| 268 | + { |
| 269 | + "name": "macos-debug-tests", |
| 270 | + "displayName": "macOS Debug with Tests", |
| 271 | + "description": "Build for macOS Debug with test suite", |
| 272 | + "inherits": "macos-base", |
| 273 | + "binaryDir": "${sourceDir}/build-debug", |
| 274 | + "cacheVariables": { |
| 275 | + "CMAKE_BUILD_TYPE": "Debug", |
| 276 | + "LIVEKIT_BUILD_EXAMPLES": "OFF", |
| 277 | + "LIVEKIT_BUILD_TESTS": "ON" |
188 | 278 | } |
189 | 279 | } |
190 | 280 | ], |
|
240 | 330 | { |
241 | 331 | "name": "macos-debug-examples", |
242 | 332 | "configurePreset": "macos-debug-examples" |
| 333 | + }, |
| 334 | + { |
| 335 | + "name": "windows-release-tests", |
| 336 | + "configurePreset": "windows-release-tests", |
| 337 | + "configuration": "Release" |
| 338 | + }, |
| 339 | + { |
| 340 | + "name": "windows-debug-tests", |
| 341 | + "configurePreset": "windows-debug-tests", |
| 342 | + "configuration": "Debug" |
| 343 | + }, |
| 344 | + { |
| 345 | + "name": "linux-release-tests", |
| 346 | + "configurePreset": "linux-release-tests" |
| 347 | + }, |
| 348 | + { |
| 349 | + "name": "linux-debug-tests", |
| 350 | + "configurePreset": "linux-debug-tests" |
| 351 | + }, |
| 352 | + { |
| 353 | + "name": "macos-release-tests", |
| 354 | + "configurePreset": "macos-release-tests" |
| 355 | + }, |
| 356 | + { |
| 357 | + "name": "macos-debug-tests", |
| 358 | + "configurePreset": "macos-debug-tests" |
| 359 | + } |
| 360 | + ], |
| 361 | + "testPresets": [ |
| 362 | + { |
| 363 | + "name": "windows-release-tests", |
| 364 | + "configurePreset": "windows-release-tests", |
| 365 | + "configuration": "Release", |
| 366 | + "output": { |
| 367 | + "outputOnFailure": true |
| 368 | + } |
| 369 | + }, |
| 370 | + { |
| 371 | + "name": "windows-debug-tests", |
| 372 | + "configurePreset": "windows-debug-tests", |
| 373 | + "configuration": "Debug", |
| 374 | + "output": { |
| 375 | + "outputOnFailure": true |
| 376 | + } |
| 377 | + }, |
| 378 | + { |
| 379 | + "name": "linux-release-tests", |
| 380 | + "configurePreset": "linux-release-tests", |
| 381 | + "output": { |
| 382 | + "outputOnFailure": true |
| 383 | + } |
| 384 | + }, |
| 385 | + { |
| 386 | + "name": "linux-debug-tests", |
| 387 | + "configurePreset": "linux-debug-tests", |
| 388 | + "output": { |
| 389 | + "outputOnFailure": true |
| 390 | + } |
| 391 | + }, |
| 392 | + { |
| 393 | + "name": "macos-release-tests", |
| 394 | + "configurePreset": "macos-release-tests", |
| 395 | + "output": { |
| 396 | + "outputOnFailure": true |
| 397 | + } |
| 398 | + }, |
| 399 | + { |
| 400 | + "name": "macos-debug-tests", |
| 401 | + "configurePreset": "macos-debug-tests", |
| 402 | + "output": { |
| 403 | + "outputOnFailure": true |
| 404 | + } |
243 | 405 | } |
244 | 406 | ] |
245 | 407 | } |
0 commit comments