@@ -42,6 +42,11 @@ variables:
42
42
value : ' '
43
43
- name : _InternalRuntimeDownloadCodeSignArgs
44
44
value : ' '
45
+ - ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }} :
46
+ - name : WindowsArm64LogArgs
47
+ value : /bl:artifacts/log/Release/Build.arm64.binlog
48
+ - name : WindowsArm64InstallersLogArgs
49
+ value : /bl:artifacts/log/Release/Build.Installers.Arm64.binlog
45
50
- ${{ if eq(variables['System.TeamProject'], 'internal') }} :
46
51
- group : DotNet-MSRC-Storage
47
52
- name : _InternalRuntimeDownloadArgs
@@ -52,6 +57,10 @@ variables:
52
57
- name : _InternalRuntimeDownloadCodeSignArgs
53
58
value : /p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64)
54
59
- ${{ if notin(variables['Build.Reason'], 'PullRequest') }} :
60
+ - name : WindowsArm64LogArgs
61
+ value : -ExcludeCIBinaryLog
62
+ - name : WindowsArm64InstallersLogArgs
63
+ value : -ExcludeCIBinaryLog
55
64
# DotNet-Blob-Feed provides: dotnetfeed-storage-access-key-1
56
65
# Publish-Build-Assets provides: MaestroAccessToken, BotAccount-dotnet-maestro-bot-PAT
57
66
- group : DotNet-Blob-Feed
@@ -255,19 +264,6 @@ stages:
255
264
jobName : Windows_64_build
256
265
jobDisplayName : " Build: Windows ARM64"
257
266
agentOs : Windows
258
- buildArgs :
259
- -arch arm64
260
- -sign
261
- -pack
262
- -noBuildNodeJS
263
- -noBuildJava
264
- /bl:artifacts/log/build.win-arm64.binlog
265
- /p:DotNetSignType=$(_SignType)
266
- /p:OnlyPackPlatformSpecificPackages=true
267
- /p:AssetManifestFileName=aspnetcore-win-arm64.xml
268
- $(_BuildArgs)
269
- $(_PublishArgs)
270
- $(_InternalRuntimeDownloadArgs)
271
267
installNodeJs : false
272
268
installJdk : false
273
269
artifacts :
@@ -279,6 +275,47 @@ stages:
279
275
path : artifacts/packages/
280
276
- name : Windows_arm64_Installers
281
277
path : artifacts/installers/
278
+ steps :
279
+ - script : ./build.cmd
280
+ -ci
281
+ -arch arm64
282
+ -sign
283
+ -pack
284
+ -noBuildJava
285
+ -noBuildNative
286
+ /p:DotNetSignType=$(_SignType)
287
+ /p:OnlyPackPlatformSpecificPackages=true
288
+ $(_BuildArgs)
289
+ $(_InternalRuntimeDownloadArgs)
290
+ $(WindowsArm64LogArgs)
291
+ displayName : Build ARM64
292
+
293
+ # Windows installers bundle for arm64
294
+ - script : ./build.cmd
295
+ -ci
296
+ -noBuildRepoTasks
297
+ -arch arm64
298
+ -sign
299
+ -buildInstallers
300
+ -noBuildNative
301
+ /p:DotNetSignType=$(_SignType)
302
+ /p:AssetManifestFileName=aspnetcore-win-arm64.xml
303
+ $(_BuildArgs)
304
+ $(_PublishArgs)
305
+ $(_InternalRuntimeDownloadArgs)
306
+ $(WindowsArm64InstallersLogArgs)
307
+ displayName : Build Arm64 Installers
308
+
309
+ # A few files must also go to the VS package feed.
310
+ - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
311
+ - task : NuGetCommand@2
312
+ displayName : Push Visual Studio packages
313
+ inputs :
314
+ command : push
315
+ packagesToPush : ' artifacts/packages/**/VS.Redist.Common.AspNetCore.*.nupkg'
316
+ nuGetFeedType : external
317
+ publishFeedCredentials : ' DevDiv - VS package feed'
318
+
282
319
283
320
# Build MacOS
284
321
- template : jobs/default-build.yml
0 commit comments