@@ -47,7 +47,8 @@ variables:
4747- ${{ if eq(variables['System.TeamProject'], 'internal') }} :
4848 - group : DotNet-MSRC-Storage
4949 - 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)'
5152 # The code signing doesn't use the aspnet build scripts, so the msbuild parameters have
5253 # to be passed directly. This is awkward, since we pass the same info above, but we have
5354 # to have it in two different forms
@@ -140,32 +141,35 @@ stages:
140141 - script : ./build.cmd
141142 -ci
142143 -nobl
144+ -noBuildRepoTasks
143145 -arch x86
144146 -pack
145147 -all
146148 -noBuildJava
149+ -noBuildNative
147150 /p:OnlyPackPlatformSpecificPackages=true
148151 $(_BuildArgs)
149152 $(_InternalRuntimeDownloadArgs)
150153 displayName : Build x86
151154
152- # This is in a separate build step with -forceCoreMsbuild to workaround MAX_PATH limitations - https://github.com/Microsoft/msbuild/issues/53
153155 - script : .\src\SiteExtensions\build.cmd
154156 -ci
155157 -nobl
158+ -noBuildRepoTasks
156159 -pack
157160 -noBuildDeps
158161 $(_BuildArgs)
159162 $(_InternalRuntimeDownloadArgs)
160163 condition : ne(variables['Build.Reason'], 'PullRequest')
161164 displayName : Build SiteExtension
162165
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.
166169 - script : ./build.cmd
167170 -ci
168171 -nobl
172+ -noBuildRepoTasks
169173 -noBuild
170174 -noRestore
171175 -sign
@@ -177,6 +181,7 @@ stages:
177181 - script : ./build.cmd
178182 -ci
179183 -nobl
184+ -noBuildRepoTasks
180185 -sign
181186 -buildInstallers
182187 /p:DotNetSignType=$(_SignType)
@@ -305,7 +310,6 @@ stages:
305310 - script : ./build.sh
306311 --ci
307312 --nobl
308- --arch x64
309313 --pack
310314 --all
311315 --no-build-nodejs
@@ -319,7 +323,6 @@ stages:
319323 ./dockerbuild.sh bionic \
320324 --ci \
321325 --nobl \
322- --arch x64 \
323326 --build-installers \
324327 --no-build-deps \
325328 --no-build-nodejs \
@@ -334,7 +337,6 @@ stages:
334337 ./dockerbuild.sh rhel \
335338 --ci \
336339 --nobl \
337- --arch x64 \
338340 --build-installers \
339341 --no-build-deps \
340342 --no-build-nodejs \
@@ -427,7 +429,6 @@ stages:
427429 agentOs : Linux
428430 buildScript : ./dockerbuild.sh alpine
429431 buildArgs :
430- --arch x64
431432 --os-name linux-musl
432433 --pack
433434 --all
@@ -492,7 +493,9 @@ stages:
492493 jobDisplayName : " Test: Windows Server 2016 x64"
493494 agentOs : Windows
494495 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)
496499 beforeBuild :
497500 - powershell : " & ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
498501 displayName : Setup IISExpress test certificates and schema
@@ -530,9 +533,9 @@ stages:
530533 steps :
531534 - script : ./build.cmd -ci -nobl -all -pack $(_InternalRuntimeDownloadArgs)
532535 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"
534537 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"
536539 displayName : Test Templates
537540 artifacts :
538541 - name : Windows_Test_Templates_Dumps
@@ -630,11 +633,13 @@ stages:
630633 timeoutInMinutes : 180
631634 steps :
632635 # 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
634637 displayName : Build shared fx
635638 - script : .\restore.cmd -ci -nobl /p:BuildInteropProjects=true
636639 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
638643 displayName : Run build.cmd helix target
639644 env :
640645 HelixApiAccessToken : $(HelixApiAccessToken) # Needed for internal queues
0 commit comments