@@ -47,7 +47,8 @@ variables:
47
47
- ${{ if eq(variables['System.TeamProject'], 'internal') }} :
48
48
- group : DotNet-MSRC-Storage
49
49
- name : _InternalRuntimeDownloadArgs
50
- value : -DotNetRuntimeSourceFeed https://dotnetclimsrc.blob.core.windows.net/dotnet -DotNetRuntimeSourceFeedKey $(dotnetclimsrc-read-sas-token-base64) /p:DotNetAssetRootAccessTokenSuffix='$(dotnetclimsrc-read-sas-token-base64)'
50
+ value : -DotNetRuntimeSourceFeed https://dotnetclimsrc.blob.core.windows.net/dotnet -DotNetRuntimeSourceFeedKey
51
+ $(dotnetclimsrc-read-sas-token-base64) /p:DotNetAssetRootAccessTokenSuffix='$(dotnetclimsrc-read-sas-token-base64)'
51
52
# The code signing doesn't use the aspnet build scripts, so the msbuild parameters have
52
53
# to be passed directly. This is awkward, since we pass the same info above, but we have
53
54
# to have it in two different forms
@@ -140,32 +141,35 @@ stages:
140
141
- script : ./build.cmd
141
142
-ci
142
143
-nobl
144
+ -noBuildRepoTasks
143
145
-arch x86
144
146
-pack
145
147
-all
146
148
-noBuildJava
149
+ -noBuildNative
147
150
/p:OnlyPackPlatformSpecificPackages=true
148
151
$(_BuildArgs)
149
152
$(_InternalRuntimeDownloadArgs)
150
153
displayName : Build x86
151
154
152
- # This is in a separate build step with to workaround MAX_PATH limitations - https://github.com/Microsoft/msbuild/issues/53
153
155
- script : .\src\SiteExtensions\build.cmd
154
156
-ci
155
157
-nobl
158
+ -noBuildRepoTasks
156
159
-pack
157
160
-noBuildDeps
158
161
$(_BuildArgs)
159
162
$(_InternalRuntimeDownloadArgs)
160
163
condition : ne(variables['Build.Reason'], 'PullRequest')
161
164
displayName : Build SiteExtension
162
165
163
- # This runs code-signing on all packages, zips, and jar files as defined in build/CodeSign.targets. If https://github.com/dotnet/arcade/issues/1957 is resolved,
164
- # consider running code-signing inline with the other previous steps.
165
- # Sign check is disabled because it is run in a separate step below, after installers are built.
166
+ # This runs code-signing on all packages, zips, and jar files as defined in build/CodeSign.targets. If
167
+ # https://github.com/dotnet/arcade/issues/1957 is resolved, consider running code-signing inline with the other
168
+ # previous steps. Sign check is disabled because it is run in a separate step below, after installers are built.
166
169
- script : ./build.cmd
167
170
-ci
168
171
-nobl
172
+ -noBuildRepoTasks
169
173
-noBuild
170
174
-noRestore
171
175
-sign
@@ -177,6 +181,7 @@ stages:
177
181
- script : ./build.cmd
178
182
-ci
179
183
-nobl
184
+ -noBuildRepoTasks
180
185
-sign
181
186
-buildInstallers
182
187
/p:DotNetSignType=$(_SignType)
@@ -305,7 +310,6 @@ stages:
305
310
- script : ./build.sh
306
311
--ci
307
312
--nobl
308
- --arch x64
309
313
--pack
310
314
--all
311
315
--no-build-nodejs
@@ -319,7 +323,6 @@ stages:
319
323
./dockerbuild.sh bionic \
320
324
--ci \
321
325
--nobl \
322
- --arch x64 \
323
326
--build-installers \
324
327
--no-build-deps \
325
328
--no-build-nodejs \
@@ -334,7 +337,6 @@ stages:
334
337
./dockerbuild.sh rhel \
335
338
--ci \
336
339
--nobl \
337
- --arch x64 \
338
340
--build-installers \
339
341
--no-build-deps \
340
342
--no-build-nodejs \
@@ -427,7 +429,6 @@ stages:
427
429
agentOs : Linux
428
430
buildScript : ./dockerbuild.sh alpine
429
431
buildArgs :
430
- --arch x64
431
432
--os-name linux-musl
432
433
--pack
433
434
--all
@@ -492,7 +493,9 @@ stages:
492
493
jobDisplayName : " Test: Windows Server 2016 x64"
493
494
agentOs : Windows
494
495
isTestingJob : true
495
- buildArgs : -all -pack -test "/p:SkipHelixReadyTests=true /p:SkipIISNewHandlerTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISNewShimTests=true /p:RunTemplateTests=false" $(_InternalRuntimeDownloadArgs)
496
+ buildArgs : -all -pack -test /p:SkipHelixReadyTests=true /p:SkipIISNewHandlerTests=true /p:SkipIISTests=true
497
+ /p:SkipIISExpressTests=true /p:SkipIISNewShimTests=true /p:RunTemplateTests=false
498
+ $(_InternalRuntimeDownloadArgs)
496
499
beforeBuild :
497
500
- powershell : " & ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
498
501
displayName : Setup IISExpress test certificates and schema
@@ -530,9 +533,9 @@ stages:
530
533
steps :
531
534
- script : ./build.cmd -ci -nobl -all -pack $(_InternalRuntimeDownloadArgs)
532
535
displayName : Build Repo
533
- - script : ./src/ProjectTemplates/build.cmd -ci -nobl -pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true"
536
+ - script : ./src/ProjectTemplates/build.cmd -ci -nobl -noBuildRepoTasks - pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true"
534
537
displayName : Pack Templates
535
- - script : ./src/ProjectTemplates/build.cmd -ci -nobl -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true"
538
+ - script : ./src/ProjectTemplates/build.cmd -ci -nobl -noBuildRepoTasks - test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true"
536
539
displayName : Test Templates
537
540
artifacts :
538
541
- name : Windows_Test_Templates_Dumps
@@ -630,11 +633,13 @@ stages:
630
633
timeoutInMinutes : 180
631
634
steps :
632
635
# Build the shared framework
633
- - script : ./build.cmd -ci -nobl -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
636
+ - script : ./build.cmd -ci -nobl -all -pack /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
634
637
displayName : Build shared fx
635
638
- script : .\restore.cmd -ci -nobl /p:BuildInteropProjects=true
636
639
displayName : Restore interop projects
637
- - script : .\build.cmd -ci -nobl -NoRestore -test -all -projects eng\helix\helix.proj /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildInteropProjects=true /p:RunTemplateTests=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
640
+ - script : ./build.cmd -ci -nobl -noBuildRepoTasks -noRestore -test -all -noBuildNative -projects eng\helix\helix.proj
641
+ /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildInteropProjects=true /p:RunTemplateTests=true
642
+ /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
638
643
displayName : Run build.cmd helix target
639
644
env :
640
645
HelixApiAccessToken : $(HelixApiAccessToken) # Needed for internal queues
0 commit comments