forked from dotnet/roslyn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vsts-dnceng.yml
129 lines (115 loc) · 3.49 KB
/
.vsts-dnceng.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
phases:
- phase: Windows_Desktop_Unit_Tests
queue:
name: Helix
timeoutInMinutes: 90
parallel: 4
matrix:
debug_32:
_configuration: Debug
_testKind: Test32
debug_64:
_configuration: Debug
_testKind: Test64
release_32:
_configuration: Release
_testKind: Test32
release_64:
_configuration: Release
_testKind: Test64
steps:
- script: build/scripts/cibuild.cmd -$(_configuration) -testDesktop -$(_testKind)
- task: PublishTestResults@1
inputs:
testRunner: XUnit
testResultsFiles: '**/xUnitResults/*.xml'
mergeTestResults: true
testRunTitle: 'Windows Desktop $(_configuration) $(_testKind)'
condition: succeededOrFailed()
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\Binaries\$(_configuration)\Logs'
ArtifactName: 'Windows Desktop $(_configuration) $(_testKind)'
publishLocation: Container
continueOnError: true
condition: failed()
- phase: Windows_CoreClr_Unit_Tests
queue:
name: Helix
timeoutInMinutes: 90
parallel: 2
matrix:
debug:
_configuration: Debug
release:
_configuration: Release
steps:
- script: build/scripts/cibuild.cmd -$(_configuration) -testCoreClr -buildCoreClr
- task: PublishTestResults@1
inputs:
testRunner: XUnit
testResultsFiles: '**/xUnitResults/*.xml'
mergeTestResults: true
testRunTitle: 'Windows CoreClr $(_configuration)'
condition: succeededOrFailed()
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\Binaries\$(_configuration)\Logs'
ArtifactName: 'Windows CoreClr $(_configuration)'
publishLocation: Container
continueOnError: true
condition: failed()
- phase: Windows_Determinism_Test
queue:
name: Helix
timeoutInMinutes: 90
steps:
- script: build/scripts/cibuild.cmd -testDeterminism
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\Binaries\Debug\Logs'
ArtifactName: 'Build Determinism Files'
publishLocation: Container
continueOnError: true
condition: failed()
- phase: Windows_Correctness_Test
queue:
name: Helix
timeoutInMinutes: 90
steps:
- script: build/scripts/test-build-correctness.cmd -cibuild -release
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)\Binaries\Release\Logs'
ArtifactName: 'Build Correctness Files'
publishLocation: Container
continueOnError: true
condition: failed()
- phase: Linux_Test
queue:
name: DotNetCore-Linux
timeoutInMinutes: 90
parallel: 2
matrix:
coreclr:
_args: --debug
_name: CoreClr
mono:
_args: --debug --docker --mono
_name: Mono
steps:
- script: ./build/scripts/cibuild.sh $(_args)
- task: PublishTestResults@1
inputs:
testRunner: XUnit
testResultsFiles: '**/xUnitResults/*.xml'
mergeTestResults: true
testRunTitle: 'Linux $(_name)'
condition: succeededOrFailed()
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(Build.SourcesDirectory)/Binaries/$(_configuration)/Logs'
ArtifactName: 'Linux $(_name)'
publishLocation: Container
continueOnError: true
condition: failed()