@@ -42,6 +42,11 @@ variables:
4242 value : ' '
4343 - name : _InternalRuntimeDownloadCodeSignArgs
4444 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
4550- ${{ if eq(variables['System.TeamProject'], 'internal') }} :
4651 - group : DotNet-MSRC-Storage
4752 - name : _InternalRuntimeDownloadArgs
@@ -52,6 +57,10 @@ variables:
5257 - name : _InternalRuntimeDownloadCodeSignArgs
5358 value : /p:DotNetRuntimeSourceFeed=https://dotnetclimsrc.blob.core.windows.net/dotnet /p:DotNetRuntimeSourceFeedKey=$(dotnetclimsrc-read-sas-token-base64)
5459 - ${{ if notin(variables['Build.Reason'], 'PullRequest') }} :
60+ - name : WindowsArm64LogArgs
61+ value : -ExcludeCIBinaryLog
62+ - name : WindowsArm64InstallersLogArgs
63+ value : -ExcludeCIBinaryLog
5564 # DotNet-Blob-Feed provides: dotnetfeed-storage-access-key-1
5665 # Publish-Build-Assets provides: MaestroAccessToken, BotAccount-dotnet-maestro-bot-PAT
5766 - group : DotNet-Blob-Feed
@@ -255,19 +264,6 @@ stages:
255264 jobName : Windows_64_build
256265 jobDisplayName : " Build: Windows ARM64"
257266 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)
271267 installNodeJs : false
272268 installJdk : false
273269 artifacts :
@@ -279,6 +275,47 @@ stages:
279275 path : artifacts/packages/
280276 - name : Windows_arm64_Installers
281277 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+
282319
283320 # Build MacOS
284321 - template : jobs/default-build.yml
0 commit comments