Skip to content

Commit 796b895

Browse files
authored
Merge pull request #5407 from Microsoft/features/ci
add VSTS CI
2 parents 1414fe5 + 5e7e9b2 commit 796b895

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

.vsts-dotnet.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
phases:
2+
- phase: Linux
3+
queue:
4+
name: Hosted Linux Preview
5+
timeoutInMinutes: 90
6+
parallel: 2
7+
matrix:
8+
release_default:
9+
_command: ./mono/cibuild.sh
10+
_args: release
11+
release_fcs:
12+
_command: ./fcs/build.sh
13+
_args: Build
14+
steps:
15+
- script: $(_command) $(_args)
16+
- task: PublishBuildArtifacts@1
17+
inputs:
18+
PathtoPublish: '$(Build.SourcesDirectory)/tests/TestResults'
19+
ArtifactName: 'Linux $(_command) $(_args)'
20+
publishLocation: Container
21+
continueOnError: true
22+
condition: failed()
23+
24+
- phase: Windows
25+
queue:
26+
name: Hosted VS2017
27+
timeoutInMinutes: 90
28+
parallel: 7
29+
matrix:
30+
ci_part1:
31+
_command: build.cmd
32+
_args: release ci_part1
33+
ci_part2:
34+
_command: build.cmd
35+
_args: release ci_part2
36+
ci_part3:
37+
_command: build.cmd
38+
_args: release ci_part3
39+
ci_part4:
40+
_command: build.cmd
41+
_args: release ci_part4
42+
debug_default:
43+
_command: build.cmd
44+
_args: debug
45+
net40_no_vs:
46+
_command: build.cmd
47+
_args: release net40
48+
release_fcs:
49+
_command: fcs\build.cmd
50+
_args: TestAndNuget
51+
steps:
52+
- script: $(_command) $(_args)
53+
- task: PublishBuildArtifacts@1
54+
inputs:
55+
PathtoPublish: '$(Build.SourcesDirectory)\tests\TestResults'
56+
ArtifactName: 'Windows $(_command) $(_args)'
57+
publishLocation: Container
58+
continueOnError: true
59+
condition: failed()

0 commit comments

Comments
 (0)