Skip to content

Commit 1b495dc

Browse files
committed
Try just running PTemplates in helix
1 parent 062e663 commit 1b495dc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.azure/pipelines/ci-public.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,10 +582,10 @@ stages:
582582
/p:VsTestUseMSBuildOutput=false
583583
displayName: Build shared fx
584584
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
585-
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -noBuildRepoTasks -noBuildNative -noBuild -test
585+
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -all -noBuildRepoTasks -noBuildNative -noBuild -test
586586
-projects eng\helix\helix.proj /p:IsHelixPRCheck=true /p:IsHelixJob=true
587587
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
588-
/p:VsTestUseMSBuildOutput=false
588+
/p:VsTestUseMSBuildOutput=false /p:OnlyTestProjectTemplates=true
589589
displayName: Run build.cmd helix target
590590
env:
591591
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues

eng/helix/helix.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
This must be reset in order for Build.props to evaluate a list of projects to be tested on Helix.
77
-->
88
<ProjectToBuild Condition="'$(ProjectToBuild)' == '$(MSBuildProjectFullPath)'"/>
9+
<ProjectToBuild Condition="'$(OnlyTestProjectTemplates)' == 'true'">$(RepoRoot)src\ProjectTemplates\**\*.csproj</ProjectToBuild>
910

1011
<!--
1112
Do not load NuGet.targets since this project doesn't reference anything from NuGet. Reduces `msbuild`

0 commit comments

Comments
 (0)