11jobs :
2+
23- job : Linux
34 pool :
45 vmImage : ubuntu-16.04
56 timeoutInMinutes : 90
67 strategy :
78 maxParallel : 3
89 matrix :
9- dotnet_sdk :
10- _command : make
11- _args : Configuration=release
12- release_fcs :
13- _command : ./fcs/build.sh
14- _args : Build
10+ coreclr_release :
11+ _configuration : Release
12+ _testKind : testcoreclr
13+ steps :
14+ - script : ./eng/cibuild.sh --configuration $(_configuration) --$(_testKind)
15+ - task : PublishBuildArtifacts@1
16+ displayName : Publish Build Logs
17+ inputs :
18+ PathtoPublish : ' $(Build.SourcesDirectory)/artifacts/log/$(_configuration)'
19+ ArtifactName : ' Linux $(_configuration) $(_testKind) build log'
20+ publishLocation : Container
21+ continueOnError : true
22+ condition : not(succeeded())
23+ - task : PublishBuildArtifacts@1
24+ displayName : Publish Test Results
25+ inputs :
26+ PathtoPublish : ' $(Build.SourcesDirectory)/artifacts/TestResults'
27+ ArtifactName : ' Linux $(_configuration) $(_testKind)'
28+ publishLocation : Container
29+ continueOnError : true
30+ condition : not(succeeded())
31+
32+ - job : Linux_FCS
33+ pool :
34+ vmImage : ubuntu-16.04
35+ timeoutInMinutes : 90
1536 steps :
16- - script : $(_command) $(_args)
37+ - script : ./fcs/build.sh Build
1738 - task : PublishBuildArtifacts@1
39+ displayName : Publish Test Results
1840 inputs :
1941 PathtoPublish : ' $(Build.SourcesDirectory)/artifacts/TestResults'
20- ArtifactName : ' Linux $(_command) $(_args) '
42+ ArtifactName : ' Linux FCS test results '
2143 publishLocation : Container
2244 continueOnError : true
23- condition : failed( )
45+ condition : not(succeeded() )
2446
2547- job : MacOS
2648 pool :
@@ -29,56 +51,92 @@ jobs:
2951 strategy :
3052 maxParallel : 3
3153 matrix :
32- dotnet_sdk :
33- _command : make
34- _args : Configuration=release
35- release_fcs :
36- _command : ./fcs/build.sh
37- _args : Build
54+ coreclr_release :
55+ _configuration : Release
56+ _testKind : testcoreclr
3857 steps :
39- - script : $(_command) $(_args )
58+ - script : ./eng/cibuild.sh --configuration $(_configuration) --$(_testKind )
4059 - task : PublishBuildArtifacts@1
60+ displayName : Publish Build Logs
61+ inputs :
62+ PathtoPublish : ' $(Build.SourcesDirectory)/artifacts/log/$(_configuration)'
63+ ArtifactName : ' MacOS $(_configuration) $(_testKind) build log'
64+ publishLocation : Container
65+ continueOnError : true
66+ condition : not(succeeded())
67+ - task : PublishBuildArtifacts@1
68+ displayName : Publish Test Results
4169 inputs :
4270 PathtoPublish : ' $(Build.SourcesDirectory)/artifacts/TestResults'
43- ArtifactName : ' MacOS $(_command ) $(_args )'
71+ ArtifactName : ' MacOS $(_configuration ) $(_testKind )'
4472 publishLocation : Container
4573 continueOnError : true
46- condition : failed()
74+ condition : not(succeeded())
75+
76+ - job : MacOS_FCS
77+ pool :
78+ vmImage : macOS-10.13
79+ timeoutInMinutes : 90
80+ steps :
81+ - script : ./fcs/build.sh Build
82+ - task : PublishBuildArtifacts@1
83+ displayName : Publish Test Results
84+ inputs :
85+ PathtoPublish : ' $(Build.SourcesDirectory)/artifacts/TestResults'
86+ ArtifactName : ' MacOS FCS test results'
87+ publishLocation : Container
88+ continueOnError : true
89+ condition : not(succeeded())
4790
4891- job : Windows
4992 pool :
5093 vmImage : vs2017-win2016
5194 timeoutInMinutes : 120
5295 strategy :
53- maxParallel : 7
96+ maxParallel : 4
5497 matrix :
55- ci_part1 :
56- _command : build.cmd
57- _args : release ci_part1
58- ci_part2 :
59- _command : build.cmd
60- _args : release ci_part2
61- ci_part3 :
62- _command : build.cmd
63- _args : release ci_part3
64- ci_part4 :
65- _command : build.cmd
66- _args : release ci_part4
67- debug_default :
68- _command : build.cmd
69- _args : debug
70- net40_no_vs :
71- _command : build.cmd
72- _args : release net40
73- release_fcs :
74- _command : fcs\build.cmd
75- _args : TestAndNuget
98+ desktop_release :
99+ _configuration : Release
100+ _testKind : testDesktop
101+ coreclr_release :
102+ _configuration : Release
103+ _testKind : testCoreclr
104+ fsharpqa_release :
105+ _configuration : Release
106+ _testKind : testFSharpQA
107+ vs_release :
108+ _configuration : Release
109+ _testKind : testVs
110+ steps :
111+ - script : eng\CIBuild.cmd -configuration $(_configuration) -$(_testKind)
112+ - task : PublishBuildArtifacts@1
113+ displayName : Publish Build Logs
114+ inputs :
115+ PathtoPublish : ' $(Build.SourcesDirectory)\artifacts\log\$(_configuration)'
116+ ArtifactName : ' Windows $(_configuration) $(_testKind) build log'
117+ publishLocation : Container
118+ continueOnError : true
119+ condition : not(succeeded())
120+ - task : PublishBuildArtifacts@1
121+ displayName : Publish Test Results
122+ inputs :
123+ PathtoPublish : ' $(Build.SourcesDirectory)\artifacts\TestResults'
124+ ArtifactName : ' Windows $(_configuration) $(_testKind) test results'
125+ publishLocation : Container
126+ continueOnError : true
127+ condition : not(succeeded())
128+
129+ - job : Windows_FCS
130+ pool :
131+ vmImage : vs2017-win2016
132+ timeoutInMinutes : 120
76133 steps :
77- - script : $(_command) $(_args)
134+ - script : fcs\build.cmd TestAndNuget
78135 - task : PublishBuildArtifacts@1
136+ displayName : Publish Test Results
79137 inputs :
80138 PathtoPublish : ' $(Build.SourcesDirectory)\artifacts\TestResults'
81- ArtifactName : ' Windows $(_command) $(_args) '
139+ ArtifactName : ' Windows FCS test results '
82140 publishLocation : Container
83141 continueOnError : true
84- condition : failed( )
142+ condition : not(succeeded() )
0 commit comments