@@ -51,6 +51,8 @@ variables:
51
51
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
52
52
/p:DotNetArtifactsCategory=$(_DotNetArtifactsCategory)
53
53
# 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
54
56
- name : Windows64LogArgs
55
57
value : -ExcludeCIBinaryLog
56
58
- name : Windows86LogArgs
@@ -59,12 +61,16 @@ variables:
59
61
value : -ExcludeCIBinaryLog
60
62
- name : WindowsInstallersLogArgs
61
63
value : -ExcludeCIBinaryLog
64
+ - name : WindowsArm64InstallersLogArgs
65
+ value : -ExcludeCIBinaryLog
62
66
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }} :
63
67
- name : _BuildArgs
64
68
value : ' /p:SkipTestBuild=true'
65
69
- name : _PublishArgs
66
70
value : ' '
67
71
# 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
68
74
- name : Windows64LogArgs
69
75
value : /bl:artifacts/log/Release/Build.x64.binlog
70
76
- name : Windows86LogArgs
@@ -73,6 +79,8 @@ variables:
73
79
value : /bl:artifacts/log/Release/Build.CodeSign.binlog
74
80
- name : WindowsInstallersLogArgs
75
81
value : /bl:artifacts/log/Release/Build.Installers.binlog
82
+ - name : WindowsArm64InstallersLogArgs
83
+ value : /bl:artifacts/log/Release/Build.Installers.Arm64.binlog
76
84
- ${{ if ne(variables['System.TeamProject'], 'internal') }} :
77
85
- name : _UseHelixOpenQueues
78
86
value : ' true'
@@ -263,18 +271,6 @@ stages:
263
271
jobName : Windows_arm64_build
264
272
jobDisplayName : " Build: Windows ARM64"
265
273
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)
278
274
installNodeJs : false
279
275
installJdk : false
280
276
artifacts :
@@ -286,6 +282,47 @@ stages:
286
282
path : artifacts/packages/
287
283
- name : Windows_arm64_Installers
288
284
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
+
289
326
290
327
# Build MacOS
291
328
- template : jobs/default-build.yml
0 commit comments