Skip to content

Commit 40e96aa

Browse files
committed
Introduce MSVC CI
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
1 parent dab7603 commit 40e96aa

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

azure-pipelines.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
- job: CMake
77
timeoutInMinutes: 120
88
strategy:
9+
maxParallel: 6
910
matrix:
1011
Linux.Debug:
1112
image_name: 'ubuntu-latest'
@@ -69,3 +70,49 @@ jobs:
6970
displayName: 'Build and test'
7071
env:
7172
TARGET: $(test_target)
73+
74+
- job: MSVC
75+
timeoutInMinutes: 120
76+
pool:
77+
vmImage: 'windows-latest'
78+
strategy:
79+
maxParallel: 4
80+
matrix:
81+
x86.Debug:
82+
build_type: 'debug'
83+
target: 'x86'
84+
do_test: true
85+
x86.Test:
86+
build_type: 'test'
87+
target: 'x86'
88+
do_test: true
89+
x86.Release:
90+
build_type: 'release'
91+
target: 'x86'
92+
do_test: false
93+
x64.Debug:
94+
build_type: 'debug'
95+
target: 'x64'
96+
do_test: true
97+
x64.Test:
98+
build_type: 'test'
99+
target: 'x64'
100+
do_test: true
101+
x64.Release:
102+
build_type: 'release'
103+
target: 'x64'
104+
do_test: false
105+
106+
steps:
107+
- script: jenkins\buildone.cmd %TARGET% %BUILD%
108+
displayName: 'Build'
109+
env:
110+
TARGET: $(target)
111+
BUILD: $(build_type)
112+
113+
- script: jenkins\testone.cmd %TARGET% %BUILD%
114+
displayName: 'Test'
115+
condition: eq(variables['do_test'], true)
116+
env:
117+
TARGET: $(target)
118+
BUILD: $(build_type)

0 commit comments

Comments
 (0)