@@ -51,6 +51,8 @@ variables:
5151 /p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
5252 /p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
5353 # Do not log most Windows steps in official builds; this is the slowest job. Site extensions step always logs.
54+ - name : WindowsArm64LogArgs
55+ value : -ExcludeCIBinaryLog
5456 - name : Windows64LogArgs
5557 value : -ExcludeCIBinaryLog
5658 - name : Windows86LogArgs
@@ -59,12 +61,16 @@ variables:
5961 value : -ExcludeCIBinaryLog
6062 - name : WindowsInstallersLogArgs
6163 value : -ExcludeCIBinaryLog
64+ - name : WindowsArm64InstallersLogArgs
65+ value : -ExcludeCIBinaryLog
6266- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }} :
6367 - name : _BuildArgs
6468 value : ' /p:SkipTestBuild=true'
6569 - name : _PublishArgs
6670 value : ' '
6771 # Write binary logs for all main Windows build steps except the x86 one in public and PR builds.
72+ - name : WindowsArm64LogArgs
73+ value : /bl:artifacts/log/Release/Build.arm64.binlog
6874 - name : Windows64LogArgs
6975 value : /bl:artifacts/log/Release/Build.x64.binlog
7076 - name : Windows86LogArgs
@@ -73,6 +79,8 @@ variables:
7379 value : /bl:artifacts/log/Release/Build.CodeSign.binlog
7480 - name : WindowsInstallersLogArgs
7581 value : /bl:artifacts/log/Release/Build.Installers.binlog
82+ - name : WindowsArm64InstallersLogArgs
83+ value : /bl:artifacts/log/Release/Build.Installers.Arm64.binlog
7684- ${{ if ne(variables['System.TeamProject'], 'internal') }} :
7785 - name : _UseHelixOpenQueues
7886 value : ' true'
@@ -263,18 +271,6 @@ stages:
263271 jobName : Windows_arm64_build
264272 jobDisplayName : " Build: Windows ARM64"
265273 agentOs : Windows
266- buildArgs :
267- -arch arm64
268- -sign
269- -pack
270- -noBuildNodeJS
271- -noBuildJava
272- /p:DotNetSignType=$(_SignType)
273- /p:OnlyPackPlatformSpecificPackages=true
274- /p:AssetManifestFileName=aspnetcore-win-arm64.xml
275- $(_BuildArgs)
276- $(_PublishArgs)
277- $(_InternalRuntimeDownloadArgs)
278274 installNodeJs : false
279275 installJdk : false
280276 artifacts :
@@ -286,6 +282,47 @@ stages:
286282 path : artifacts/packages/
287283 - name : Windows_arm64_Installers
288284 path : artifacts/installers/
285+ steps :
286+ - script : ./build.cmd
287+ -ci
288+ -arch arm64
289+ -sign
290+ -pack
291+ -noBuildJava
292+ -noBuildNative
293+ /p:DotNetSignType=$(_SignType)
294+ /p:OnlyPackPlatformSpecificPackages=true
295+ $(_BuildArgs)
296+ $(_InternalRuntimeDownloadArgs)
297+ $(WindowsArm64LogArgs)
298+ displayName : Build ARM64
299+
300+ # Windows installers bundle for arm64
301+ - script : ./build.cmd
302+ -ci
303+ -noBuildRepoTasks
304+ -arch arm64
305+ -sign
306+ -buildInstallers
307+ -noBuildNative
308+ /p:DotNetSignType=$(_SignType)
309+ /p:AssetManifestFileName=aspnetcore-win-arm64.xml
310+ $(_BuildArgs)
311+ $(_PublishArgs)
312+ $(_InternalRuntimeDownloadArgs)
313+ $(WindowsArm64InstallersLogArgs)
314+ displayName : Build Arm64 Installers
315+
316+ # A few files must also go to the VS package feed.
317+ - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }} :
318+ - task : NuGetCommand@2
319+ displayName : Push Visual Studio packages
320+ inputs :
321+ command : push
322+ packagesToPush : ' artifacts/packages/**/VS.Redist.Common.AspNetCore.*.nupkg'
323+ nuGetFeedType : external
324+ publishFeedCredentials : ' DevDiv - VS package feed'
325+
289326
290327 # Build MacOS
291328 - template : jobs/default-build.yml
0 commit comments