forked from microsoft/MIEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
48 lines (44 loc) · 1.16 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: $(Date:yyyMMdd).$(Rev:r)
pr:
- 'master'
jobs:
- job: Debug
pool: 'Hosted VS2017'
steps:
- task: MSBuild@1
inputs:
solution: 'BuildAndTest.proj'
configuration: 'Debug'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'xUnit'
testResultsFiles: 'bin\Debug\TestResults.xml'
searchFolder: '$(System.DefaultWorkingDirectory)'
testRunTitle: '$(Build.DefinitionName)_$(Build.BuildNumber)_Debug'
- job: Release
pool: 'Hosted VS2017'
steps:
- task: MSBuild@1
inputs:
solution: 'BuildAndTest.proj'
configuration: 'Release'
- task: PublishTestResults@2
inputs:
testResultsFormat: 'xUnit'
testResultsFiles: 'bin\Release\TestResults.xml'
searchFolder: '$(System.DefaultWorkingDirectory)'
testRunTitle: '$(Build.DefinitionName)_$(Build.BuildNumber)_Release'
- job: DesktopDebug
pool: 'Hosted VS2017'
steps:
- task: MSBuild@1
inputs:
solution: 'BuildAndTest.proj'
configuration: 'Desktop.Debug'
- job: DesktopRelease
pool: 'Hosted VS2017'
steps:
- task: MSBuild@1
inputs:
solution: 'BuildAndTest.proj'
configuration: 'Desktop.Release'