Skip to content

Commit dec978a

Browse files
authored
Introduce MSVC CI
Add MSVC CI jobs, testing on latest Windows VM image using provided build and test wrappers. For #6547
1 parent dab7603 commit dec978a

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

azure-pipelines.yml

+40
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
- job: CMake
77
timeoutInMinutes: 120
88
strategy:
9+
maxParallel: 5
910
matrix:
1011
Linux.Debug:
1112
image_name: 'ubuntu-latest'
@@ -69,3 +70,42 @@ 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: 5
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+
- script: jenkins/buildone.cmd $(target) $(build_type)
107+
displayName: 'Build'
108+
109+
- script: jenkins/testone.cmd $(target) $(build_type)
110+
displayName: 'Test'
111+
condition: $(do_test)

0 commit comments

Comments
 (0)