@@ -22,7 +22,6 @@ trigger:
2222 - src/coreclr/*
2323 - eng/pipelines/coreclr/*
2424 - eng/pipelines/installer/*
25- - eng/pipelines/common/*
2625
2726pr :
2827 branches :
4342 - src/coreclr/*
4443 - eng/pipelines/coreclr/*
4544 - eng/pipelines/installer/*
46- - eng/pipelines/common/*
47-
48- resources :
49- containers :
50- - container : centos7_container
51- image : mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-f39df28-20191023143754
52-
53- - container : centos6_container
54- image : mcr.microsoft.com/dotnet-buildtools/prereqs:centos-6-f39df28-20191023143802
55-
56- - container : alpine_39_container
57- image : mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.9-WithNode-0fc54a3-20190918214015
58-
59- - container : alpine_37_arm64_container
60- image : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-arm64-alpine-406629a-20191023143847
61-
62- - container : ubuntu_1604_arm64_cross_container
63- image : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-arm64-cfdd435-20191023143847
64-
65- - container : ubuntu_1604_arm_cross_container
66- image : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-14.04-23cacb0-20191023143847
67-
68- - container : ubuntu_1604
69- image : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-a50a721-20191023143845
7045
7146variables :
7247 - template : variables.yml
@@ -83,55 +58,96 @@ variables:
8358 - name : _DotNetValidationArtifactsCategory
8459 value : .NETCore
8560
86- stages :
87- # Windows legs
88- - template : ${{ variables['pipelinesPath'] }}/windows.yml
89- parameters :
90- isOfficialBuild : ${{ and(ne(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest')) }}
91- fullMatrix : ${{ notIn(variables['Build.Reason'], 'PullRequest') }}
92-
93- # Linux legs
94- - template : ${{ variables['pipelinesPath'] }}/linux.yml
95- parameters :
96- isOfficialBuild : ${{ and(ne(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest')) }}
97- fullMatrix : ${{ notIn(variables['Build.Reason'], 'PullRequest') }}
61+ jobs :
62+ - template : /eng/pipelines/common/checkout-job.yml
9863
99- # MacOS legs
100- - template : ${{ variables['pipelinesPath'] }}/macos.yml
64+ - template : /eng/pipelines/common/platform-matrix.yml
10165 parameters :
102- isOfficialBuild : ${{ and(ne(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest')) }}
103- fullMatrix : ${{ notIn(variables['Build.Reason'], 'PullRequest') }}
104-
105- # FreeBSD leg is only for official builds
106- # - template: ${{ variables['pipelinesPath'] }}/freebsd.yml
107- # parameters:
108- # isOfficialBuild: ${{ and(ne(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest')) }}
109- # fullMatrix: ${{ notIn(variables['Build.Reason'], 'PullRequest') }}
110-
111- # Publish and validation steps. Only run in official builds
112- - ${{ if and(ne(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest')) }} :
113- - template : ${{ variables['pipelinesPath'] }}/pre-publish.yml
66+ jobTemplate : /eng/pipelines/libraries/build-job.yml
67+ buildConfig : Release
68+ platforms :
69+ - Linux_rhel6_x64
70+ - Windows_NT_x86
71+ - ${{ if eq(variables['isFullMatrix'], true) }} :
72+ - OSX_x64
73+ - Windows_NT_x64
74+ - Linux_x64
75+ - Linux_arm
76+ - Linux_arm64
77+ - Linux_musl_x64
78+ - Linux_musl_arm64
79+ helixQueuesTemplate : /eng/pipelines/libraries/helix-queues-setup.yml
80+ jobParameters :
81+ isOfficialBuild : ${{ variables['isOfficialBuild'] }}
82+ isFullMatrix : ${{ variables['isFullMatrix'] }}
83+ framework : netcoreapp
84+ ${{ if eq(variables['isOfficialBuild'], false) }} :
85+ runTests : true
86+ testScope : innerloop
87+
88+ - ${{ if eq(variables['isFullMatrix'], false) }} :
89+ - template : /eng/pipelines/common/platform-matrix.yml
11490 parameters :
115- dependsOn :
116- - WindowsStage
117- - LinuxStage
118- - MacOSStage
119- # - FreeBSD
120-
121- - template : eng\common\templates\post-build\post-build.yml
122- parameters :
123- validateDependsOn :
124- - PrePublish
125- enableSymbolValidation : false # https://github.com/dotnet/arcade/issues/2871
126- SDLValidationParameters :
127- enable : true
128- params : ' -SourceToolsList @("policheck","credscan")
129- -TsaInstanceURL "$(TsaInstanceURL)"
130- -TsaProjectName "$(TsaProjectName)"
131- -TsaNotificationEmail "$(TsaNotificationEmail)"
132- -TsaCodebaseAdmin "$(TsaCodebaseAdmin)"
133- -TsaBugAreaPath "$(TsaBugAreaPath)"
134- -TsaIterationPath "$(TsaIterationPath)"
135- -TsaRepositoryName "CoreFX"
136- -TsaCodebaseName "CoreFX"
137- -TsaPublish $True'
91+ jobTemplate : /eng/pipelines/libraries/build-job.yml
92+ buildConfig : Debug
93+ platforms :
94+ - Windows_NT_x64
95+ - OSX_x64
96+ - Linux_x64
97+ - Linux_musl_x64
98+ helixQueuesTemplate : /eng/pipelines/libraries/helix-queues-setup.yml
99+ jobParameters :
100+ isOfficialBuild : ${{ variables['isOfficialBuild'] }}
101+ isFullMatrix : ${{ variables['isFullMatrix'] }}
102+ testScope : innerloop
103+ framework : netcoreapp
104+ runTests : true
105+
106+ - template : /eng/pipelines/common/platform-matrix.yml
107+ parameters :
108+ jobTemplate : /eng/pipelines/libraries/build-job.yml
109+ ${{ if eq(variables['isFullMatrix'], false) }} :
110+ buildConfig : Debug
111+ ${{ if eq(variables['isFullMatrix'], true) }} :
112+ buildConfig : Release
113+ platforms :
114+ - WebAssembly_wasm
115+ - ${{ if eq(variables['isFullMatrix'], false) }} :
116+ - Linux_arm
117+ - Linux_arm64
118+ - Linux_musl_arm64
119+ jobParameters :
120+ isOfficialBuild : ${{ variables['isOfficialBuild'] }}
121+ framework : netcoreapp
122+
123+ - template : /eng/pipelines/common/platform-matrix.yml
124+ parameters :
125+ jobTemplate : /eng/pipelines/libraries/build-job.yml
126+ buildConfig : Release
127+ platforms :
128+ - Windows_NT_x86
129+ - ${{ if eq(variables['isFullMatrix'], true) }} :
130+ - Windows_NT_x64
131+ helixQueuesTemplate : /eng/pipelines/libraries/helix-queues-setup.yml
132+ jobParameters :
133+ isOfficialBuild : ${{ variables['isOfficialBuild'] }}
134+ framework : netfx
135+ ${{ if eq(variables['isOfficialBuild'], false) }} :
136+ runTests : true
137+ testScope : innerloop
138+
139+ - template : /eng/pipelines/common/platform-matrix.yml
140+ parameters :
141+ jobTemplate : /eng/pipelines/libraries/build-job.yml
142+ ${{ if eq(variables['isFullMatrix'], false) }} :
143+ buildConfig : Debug
144+ ${{ if eq(variables['isFullMatrix'], true) }} :
145+ buildConfig : Release
146+ platforms :
147+ - Windows_NT_x64
148+ helixQueuesTemplate : /eng/pipelines/libraries/helix-queues-setup.yml
149+ jobParameters :
150+ isOfficialBuild : ${{ variables['isOfficialBuild'] }}
151+ framework : allConfigurations
152+ ${{ if eq(variables['isOfficialBuild'], false) }} :
153+ runTests : true
0 commit comments