Skip to content

Commit 04c630c

Browse files
committed
Set up CI with Azure Pipelines
1 parent 97d7cc7 commit 04c630c

File tree

1 file changed

+102
-0
lines changed

1 file changed

+102
-0
lines changed

azure-pipelines.yml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# .NET Desktop
2+
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
3+
# Add steps that publish symbols, save build artifacts, and more:
4+
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net
5+
6+
trigger:
7+
branches:
8+
include:
9+
- master
10+
- daily
11+
12+
pool:
13+
vmImage: 'windows-latest'
14+
15+
variables:
16+
solution: 'src/CE.sln'
17+
18+
jobs:
19+
20+
- job: 'x64_Release'
21+
displayName: 'x64|Release'
22+
variables:
23+
platform: 'x64'
24+
configuration: 'Release'
25+
steps:
26+
- checkout: self
27+
submodules: true
28+
- task: VSBuild@1
29+
displayName: 'Build $(platform)|$(configuration)'
30+
inputs:
31+
solution: '$(solution)'
32+
platform: '$(platform)'
33+
configuration: '$(configuration)'
34+
- script: |
35+
set
36+
cd
37+
call "$(configuration)\Tests_$(configuration)_$(platform).exe"
38+
displayName: 'Tests $(platform)|$(configuration)'
39+
failOnStderr: true
40+
41+
- job: 'x64_Debug'
42+
displayName: 'x64|Debug'
43+
variables:
44+
platform: 'x64'
45+
configuration: 'Debug'
46+
steps:
47+
- checkout: self
48+
submodules: true
49+
- task: VSBuild@1
50+
displayName: 'Build $(platform)|$(configuration)'
51+
inputs:
52+
solution: '$(solution)'
53+
platform: '$(platform)'
54+
configuration: '$(configuration)'
55+
- script: |
56+
set
57+
cd
58+
call "$(configuration)\Tests_$(configuration)_$(platform).exe"
59+
displayName: 'Tests $(platform)|$(configuration)'
60+
failOnStderr: true
61+
62+
- job: 'Win32_Release'
63+
displayName: 'Win32|Release'
64+
variables:
65+
platform: 'Win32'
66+
configuration: 'Release'
67+
steps:
68+
- checkout: self
69+
submodules: true
70+
- task: VSBuild@1
71+
displayName: 'Build $(platform)|$(configuration)'
72+
inputs:
73+
solution: '$(solution)'
74+
platform: '$(platform)'
75+
configuration: '$(configuration)'
76+
- script: |
77+
set
78+
cd
79+
call "$(configuration)\Tests_$(configuration)_$(platform).exe"
80+
displayName: 'Tests $(platform)|$(configuration)'
81+
failOnStderr: true
82+
83+
- job: 'Win32_Debug'
84+
displayName: 'Win32|Debug'
85+
variables:
86+
platform: 'Win32'
87+
configuration: 'Debug'
88+
steps:
89+
- checkout: self
90+
submodules: true
91+
- task: VSBuild@1
92+
displayName: 'Build $(platform)|$(configuration)'
93+
inputs:
94+
solution: '$(solution)'
95+
platform: '$(platform)'
96+
configuration: '$(configuration)'
97+
- script: |
98+
set
99+
cd
100+
call "$(configuration)\Tests_$(configuration)_$(platform).exe"
101+
displayName: 'Tests $(platform)|$(configuration)'
102+
failOnStderr: true

0 commit comments

Comments
 (0)