Skip to content

Commit b15c766

Browse files
authored
Create temporary PR validation which just compiles, without tests (#4475)
1 parent fe557cd commit b15c766

File tree

3 files changed

+35
-8
lines changed

3 files changed

+35
-8
lines changed

.azure/pipelines/fast-pr-validation.yml renamed to .azure/pipelines/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Don't run CI for this config
1+
# Don't run CI for this config yet. We're not ready to move official builds on to Azure Pipelines
22
trigger: none
33

44
# Run PR validation on all branches
@@ -8,16 +8,10 @@ pr:
88
- '*'
99

1010
jobs:
11-
- template: jobs/default-build.yml
12-
parameters:
13-
jobName: PR_FastCheck
14-
jobDisplayName: Fast Check
15-
agentOs: Windows
16-
buildArgs: "/t:FastCheck"
1711
- template: jobs/default-build.yml
1812
parameters:
1913
jobName: Windows_Build
20-
jobDisplayName: "Build: Windows"
14+
jobDisplayName: "Build and test: Windows"
2115
agentOs: Windows
2216
beforeBuild:
2317
- powershell: "& ./src/IISIntegration/tools/UpdateIISExpressCertificate.ps1; & ./src/IISIntegration/tools/update_schema.ps1"

.azure/pipelines/jobs/default-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ jobs:
103103
steps:
104104
- checkout: self
105105
clean: true
106+
- task: NodeTool@0
107+
inputs:
108+
versionSpec: 10.x
106109
- ${{ if and(eq(parameters.agentOs, 'Windows'), eq(parameters.codeSign, 'true')) }}:
107110
- task: MicroBuildSigningPlugin@1
108111
displayName: Install MicroBuild Signing plugin
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This configuration is temporary while we work on getting all unit tests to pass on PR checks
2+
3+
# Don't run CI for this config
4+
trigger: none
5+
6+
# Run PR validation on all branches
7+
pr:
8+
branches:
9+
include:
10+
- '*'
11+
12+
jobs:
13+
- template: jobs/default-build.yml
14+
parameters:
15+
jobName: Windows_Build
16+
jobDisplayName: "Build only : Windows"
17+
agentOs: Windows
18+
buildArgs: '/p:SkipTests=true'
19+
- template: jobs/default-build.yml
20+
parameters:
21+
jobName: macOs_Build
22+
jobDisplayName: "Build only : macOS"
23+
agentOs: macOS
24+
buildArgs: '/p:SkipTests=true'
25+
- template: jobs/default-build.yml
26+
parameters:
27+
jobName: Linux_Build
28+
jobDisplayName: "Build only : Linux"
29+
agentOs: Linux
30+
buildArgs: '/p:SkipTests=true'

0 commit comments

Comments
 (0)