Add MSVC CI jobs, testing on latest Windows VM image using build and test wrappers. Assign 6 jobs to 'nix CI (all it needs) and the remaining 4 - to MCVS, as it is much faster. For #6547
@@ -6,6 +6,7 @@ jobs:
- job: CMake
timeoutInMinutes: 120
strategy:
+ maxParallel: 6
matrix:
Linux.Debug:
image_name: 'ubuntu-latest'
@@ -69,3 +70,49 @@ jobs:
displayName: 'Build and test'
env:
TARGET: $(test_target)
+
+ - job: MSVC
+ timeoutInMinutes: 120
+ pool:
+ vmImage: 'windows-latest'
+ strategy:
+ maxParallel: 4
+ matrix:
+ x86.Debug:
+ build_type: 'debug'
+ target: 'x86'
+ do_test: true
+ x86.Test:
+ build_type: 'test'
+ x86.Release:
+ build_type: 'release'
+ do_test: false
+ x64.Debug:
+ target: 'x64'
+ x64.Test:
+ x64.Release:
+ steps:
+ - script: jenkins\buildone.cmd %TARGET% %BUILD%
+ displayName: 'Build'
+ env:
+ TARGET: $(target)
+ BUILD: $(build_type)
+ - script: jenkins\testone.cmd %TARGET% %BUILD%
+ displayName: 'Test'
+ condition: eq(variables['do_test'], true)