Skip to content

Commit 3797bff

Browse files
authored
Only build site extensions on main build (#9722)
1 parent ba1f86d commit 3797bff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.azure/pipelines/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ jobs:
297297
agentOs: Windows
298298
isTestingJob: true
299299
buildScript: ./eng/scripts/cibuild.cmd
300-
buildArgs: -test "/p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true /p:RunTemplateTests=false"
300+
buildArgs: -test "/p:SkipIISBackwardsCompatibilityTests=true /p:SkipIISTests=true /p:SkipIISExpressTests=true /p:SkipIISForwardsCompatibilityTests=true /p:RunTemplateTests=false /p:BuildSiteExtensions=false"
301301
beforeBuild:
302302
- powershell: "& ./src/Servers/IIS/tools/UpdateIISExpressCertificate.ps1; & ./src/Servers/IIS/tools/update_schema.ps1"
303303
displayName: Setup IISExpress test certificates and schema
@@ -318,7 +318,7 @@ jobs:
318318
agentOs: Windows
319319
isTestingJob: true
320320
buildScript: ./src/ProjectTemplates/build.cmd
321-
buildArgs: -ci -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true"
321+
buildArgs: -ci -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true /p:BuildSiteExtensions=false"
322322
beforeBuild:
323323
- powershell: ./eng/scripts/cibuild.cmd
324324
displayName: Build Repo

build/repo.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<DisableDefaultTargets>true</DisableDefaultTargets>
99
<DisableDefaultItems>true</DisableDefaultItems>
1010
<BuildSolutions>false</BuildSolutions>
11-
<BuildSiteExtensions Condition="'$(TargetRuntimeIdentifier)' == 'win-x64' OR '$(TargetRuntimeIdentifier)' == 'win-x86'">true</BuildSiteExtensions>
11+
<BuildSiteExtensions Condition="('$(TargetRuntimeIdentifier)' == 'win-x64' OR '$(TargetRuntimeIdentifier)' == 'win-x86') AND '$(BuildSiteExtensions)' == ''">true</BuildSiteExtensions>
1212

1313
<OverridePackageOutputPath>false</OverridePackageOutputPath>
1414

0 commit comments

Comments
 (0)