Skip to content

Commit f1203e0

Browse files
committed
Add new job
1 parent 1f9ff9d commit f1203e0

File tree

3 files changed

+53
-3
lines changed

3 files changed

+53
-3
lines changed

.azure/pipelines/ci-public.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ stages:
585585
- 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 /p:OnlyTestProjectTemplates=true
588+
/p:VsTestUseMSBuildOutput=false /p:RunTemplateTests=false
589589
displayName: Run build.cmd helix target
590590
env:
591591
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues

.azure/pipelines/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,9 +634,9 @@ extends:
634634
MSBUILDUSESERVER: "1"
635635
displayName: Build shared fx
636636
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
637-
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -noBuildRepoTasks -noBuildNative -noBuild -test
637+
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -all -noBuildRepoTasks -noBuildNative -noBuild -test
638638
-projects eng\helix\helix.proj /p:IsHelixPRCheck=true /p:IsHelixJob=true
639-
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
639+
/p:CrossgenOutput=false /p:RunTemplateTests=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
640640
displayName: Run build.cmd helix target
641641
env:
642642
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Configure which branches trigger builds
2+
# We want to run template tests on release/8.0 and later as well as on certain PRs
3+
trigger:
4+
batch: true
5+
branches:
6+
include:
7+
- main
8+
- release/*
9+
10+
# Run PR validation on branches that include Helix tests
11+
pr:
12+
autoCancel: true
13+
branches:
14+
include:
15+
- main
16+
- release/*
17+
paths:
18+
include:
19+
- src/ProjectTemplates/**/*
20+
21+
variables:
22+
- name: _UseHelixOpenQueues
23+
value: ${{ ne(variables['System.TeamProject'], 'internal') }}
24+
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
25+
- group: DotNet-HelixApi-Access
26+
- template: /eng/common/templates/variables/pool-providers.yml
27+
28+
jobs:
29+
- template: jobs/default-build.yml
30+
parameters:
31+
jobName: Helix_templates_x64
32+
jobDisplayName: 'Tests: Helix template tests x64'
33+
agentOs: Windows
34+
timeoutInMinutes: 120
35+
steps:
36+
# Build the shared framework
37+
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -pack -arch x64
38+
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
39+
/p:VsTestUseMSBuildOutput=false
40+
displayName: Build shared fx
41+
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
42+
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -all -noBuildRepoTasks -noBuildNative -noBuild -test
43+
-projects eng\helix\helix.proj /p:IsHelixPRCheck=true /p:IsHelixJob=true
44+
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log $(_InternalRuntimeDownloadArgs)
45+
/p:VsTestUseMSBuildOutput=false /p:OnlyTestProjectTemplates=true
46+
displayName: Run build.cmd helix target
47+
artifacts:
48+
- name: Helix_logs
49+
path: artifacts/log/
50+
publishOnError: true

0 commit comments

Comments
 (0)