|
44 | 44 |
|
45 | 45 | name: $(Date:yyyyMMdd)$(Rev:.r)
|
46 | 46 |
|
47 |
| -variables: |
48 |
| - - name: TeamName |
49 |
| - value: dotnet-core-acquisition |
50 |
| - # Skip Running CI tests |
51 |
| - - name: SkipTests |
52 |
| - value: false |
53 |
| - # Set Official Build Id |
54 |
| - - name: OfficialBuildId |
55 |
| - value: $(Build.BuildNumber) |
56 |
| - |
57 |
| - # Set the target blob feed for package publish during official and validation builds. |
58 |
| - - name: _DotNetArtifactsCategory |
59 |
| - value: .NETCore |
60 |
| - - name: _DotNetValidationArtifactsCategory |
61 |
| - value: .NETCoreValidation |
62 |
| - |
63 |
| - # Produce test-signed build for PR and Public builds |
64 |
| - - ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}: |
65 |
| - - name: SignType |
66 |
| - value: test |
67 |
| - |
68 |
| - # Set up non-PR build from internal project |
69 |
| - - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: |
70 |
| - - name: SignType |
71 |
| - value: $[ coalesce(variables.OfficialSignType, 'real') ] |
72 |
| - # Values for SDLValidationParameters |
73 |
| - - group: core-setup-sdl-validation |
74 |
| - |
75 |
| - - name: pipelinesPath |
76 |
| - value: /eng/pipelines/installer |
77 |
| - - name: buildScriptFileName |
78 |
| - value: installer |
79 |
| - |
80 |
| -stages: |
81 |
| -- stage: Build |
82 |
| - jobs: |
83 |
| - # -------- Build Bash legs (Linux and FreeBSD) -------- |
84 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/bash-build.yml |
85 |
| - parameters: |
86 |
| - crossBuild: true |
87 |
| - name: Linux_Arm |
88 |
| - dockerImage: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-14.04-23cacb0-20190923200213 |
89 |
| - additionalRunArgs: -e ROOTFS_DIR=/crossrootfs/arm |
90 |
| - portableBuild: true |
91 |
| - skipTests: true |
92 |
| - targetArchitecture: arm |
93 |
| - |
94 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/bash-build.yml |
95 |
| - parameters: |
96 |
| - crossBuild: true |
97 |
| - name: Linux_Arm64 |
98 |
| - dockerImage: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-arm64-cfdd435-20190923200213 |
99 |
| - additionalRunArgs: -e ROOTFS_DIR=/crossrootfs/arm64 |
100 |
| - portableBuild: true |
101 |
| - skipTests: true |
102 |
| - targetArchitecture: arm64 |
103 |
| - |
104 |
| - # # Tizen build only for PR build |
105 |
| - # - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: |
106 |
| - # - template: ${{ variables['pipelinesPath'] }}/jobs/bash-build.yml |
107 |
| - # parameters: |
108 |
| - # additionalMSBuildArgs: /p:OverridePackageSource=https:%2F%2Ftizen.myget.org/F/dotnet-core/api/v3/index.json /p:OutputRid=tizen.5.0.0-armel |
109 |
| - # additionalRunArgs: -e ROOTFS_DIR=/crossrootfs/armel.tizen.build |
110 |
| - # crossBuild: true |
111 |
| - # name: Linux_ArmRel_Tizen |
112 |
| - # disableCrossgen: true |
113 |
| - # dockerImage: tizendotnet/dotnet-buildtools-prereqs:ubuntu-16.04-cross-e435274-20180426002255-tizen-rootfs-5.0m1 |
114 |
| - # portableBuild: false |
115 |
| - # skipTests: true |
116 |
| - # targetArchitecture: armel |
117 |
| - |
118 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/bash-build.yml |
119 |
| - parameters: |
120 |
| - additionalMSBuildArgs: /p:OutputRid=linux-musl-arm64 |
121 |
| - crossBuild: true |
122 |
| - name: Linux_Arm64_Alpine37 |
123 |
| - dockerImage: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-cross-arm64-alpine-406629a-20190923200213 |
124 |
| - additionalRunArgs: -e ROOTFS_DIR=/crossrootfs/arm64 |
125 |
| - portableBuild: false |
126 |
| - skipTests: true |
127 |
| - targetArchitecture: arm64 |
128 |
| - |
129 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/bash-build.yml |
130 |
| - parameters: |
131 |
| - additionalMSBuildArgs: /p:OutputRid=linux-musl-x64 |
132 |
| - name: Linux_x64_Alpine39 |
133 |
| - dockerImage: mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.9-WithNode-0fc54a3-20190918214015 |
134 |
| - portableBuild: false |
135 |
| - targetArchitecture: x64 |
136 |
| - |
137 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/bash-build.yml |
138 |
| - parameters: |
139 |
| - name: Linux_x64_glibc |
140 |
| - dockerImage: mcr.microsoft.com/dotnet-buildtools/prereqs:centos-7-50f0d02-20190918214028 |
141 |
| - packageDistroList: |
142 |
| - - image: mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-14.04-debpkg-e5cf912-20175003025046 |
143 |
| - imageRid: ubuntu.14.04 |
144 |
| - rids: [] |
145 |
| - - image: mcr.microsoft.com/dotnet-buildtools/prereqs:rhel-7-rpmpkg-c982313-20174116044113 |
146 |
| - imageRid: rhel.7 |
147 |
| - rids: |
148 |
| - - centos.7 |
149 |
| - - fedora.27 |
150 |
| - - opensuse.42 |
151 |
| - - oraclelinux.7 |
152 |
| - - sles.12 |
153 |
| - portableBuild: true |
154 |
| - targetArchitecture: x64 |
155 |
| - |
156 |
| - # -------- Build OSX (macOS) leg -------- |
157 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/osx-build.yml |
158 |
| - parameters: |
159 |
| - name: OSX |
160 |
| - |
161 |
| - # -------- Build Windows legs -------- |
162 |
| - # Windows Arm |
163 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/windows-build.yml |
164 |
| - parameters: |
165 |
| - name: Windows_Arm |
166 |
| - skipTests: true |
167 |
| - targetArchitecture: arm |
168 |
| - |
169 |
| - # Windows Arm64 |
170 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/windows-build.yml |
171 |
| - parameters: |
172 |
| - name: Windows_Arm64 |
173 |
| - skipTests: true |
174 |
| - targetArchitecture: arm64 |
175 |
| - |
176 |
| - # Windows x64 |
177 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/windows-build.yml |
178 |
| - parameters: |
179 |
| - name: Windows_x64 |
180 |
| - publishRidAgnosticPackages: true |
181 |
| - targetArchitecture: x64 |
182 |
| - |
183 |
| - # Windows x86 |
184 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/windows-build.yml |
185 |
| - parameters: |
186 |
| - name: Windows_x86 |
187 |
| - targetArchitecture: x86 |
188 |
| - |
189 |
| -- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: |
190 |
| - - stage: PrepareForPublish |
191 |
| - displayName: Prepare for Publish |
192 |
| - dependsOn: Build |
193 |
| - jobs: |
194 |
| - # Prep artifacts: sign them and upload pipeline artifacts expected by stages-based publishing. |
195 |
| - - template: ${{ variables['pipelinesPath'] }}/jobs/prepare-signed-artifacts.yml |
196 |
| - parameters: |
197 |
| - PublishRidAgnosticPackagesFromJobName: Windows_x64 |
198 |
| - # Publish to Build Asset Registry in order to generate the ReleaseConfigs artifact. |
199 |
| - - template: /eng/common/templates/job/publish-build-assets.yml |
200 |
| - parameters: |
201 |
| - publishUsingPipelines: true |
202 |
| - dependsOn: PrepareSignedArtifacts |
203 |
| - pool: |
204 |
| - name: NetCoreInternal-Pool |
205 |
| - queue: buildpool.windows.10.amd64.vs2017 |
206 |
| - |
207 |
| - - template: ${{ variables['pipelinesPath'] }}/stages/publish.yml |
208 |
| - parameters: |
209 |
| - pipelinesPath: ${{ variables['pipelinesPath'] }} |
210 |
| - # Publish channel configuration. The publish template wraps Arcade publishing and adds some |
211 |
| - # extras that aren't implemented in Arcade yet. |
212 |
| - # |
213 |
| - # - dependsOn: <ID of the Arcade stage that finalization should run after> |
214 |
| - # channel: |
215 |
| - # name: <Name of this channel, for logging and readability> |
216 |
| - # bar: <Name of the Arcade variable that contains the ID of this channel in BAR> |
217 |
| - # storage: <Name of the Latest channel to publish to in dotnetcli blob storage> |
218 |
| - dependsOnPublishStages: |
219 |
| - |
220 |
| - - dependsOn: NetCore_Release30_Publish |
221 |
| - channel: |
222 |
| - name: .NET Core 3 Release |
223 |
| - bar: PublicRelease_30_Channel_Id |
224 |
| - storage: release/3.0-preview9 |
225 |
| - public: true |
226 |
| - - dependsOn: NetCore_30_Internal_Servicing_Publishing |
227 |
| - channel: |
228 |
| - name: .NET Core 3 Internal Servicing |
229 |
| - bar: InternalServicing_30_Channel_Id |
230 |
| - storage: internal/release/3.0 |
231 |
| - public: false |
232 |
| - |
233 |
| - - dependsOn: NetCore_Dev31_Publish |
234 |
| - channel: |
235 |
| - name: .NET Core 3.1 Dev |
236 |
| - bar: PublicDevRelease_31_Channel_Id |
237 |
| - storage: release/3.1 |
238 |
| - public: true |
239 |
| - |
240 |
| - - dependsOn: NetCore_Release31_Publish |
241 |
| - channel: |
242 |
| - name: .NET Core 3.1 Release |
243 |
| - bar: PublicRelease_31_Channel_Id |
244 |
| - storage: release/3.1-preview1 |
245 |
| - public: true |
246 |
| - |
247 |
| - - dependsOn: NetCore_Dev5_Publish |
248 |
| - channel: |
249 |
| - name: .NET Core 5 Dev |
250 |
| - bar: NetCore_5_Dev_Channel_Id |
251 |
| - storage: master |
252 |
| - public: true |
253 |
| - |
254 |
| - - dependsOn: PVR_Publish |
255 |
| - channel: |
256 |
| - name: .NET Tools - Validation |
257 |
| - bar: NetCore_Tools_Validation_Channel_Id |
258 |
| - storage: dev/validation |
259 |
| - public: true |
| 47 | +jobs: |
| 48 | +# |
| 49 | +# Checkout repository |
| 50 | +# |
| 51 | +- template: /eng/pipelines/common/checkout-job.yml |
| 52 | + |
| 53 | +# |
| 54 | +# Build and Test |
| 55 | +# |
| 56 | +- template: /eng/pipelines/installer/installer-matrix.yml |
| 57 | + parameters: |
| 58 | + strategy: |
| 59 | + matrix: |
| 60 | + debug: |
| 61 | + _BuildConfig: Debug |
| 62 | + release: |
| 63 | + _BuildConfig: Release |
0 commit comments