summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2019-03-29 13:48:48 -0700
committerBrian Sullivan <briansul@microsoft.com>2019-03-29 13:48:48 -0700
commit106a1338f2c361df0a2726101d8c7acd4582d43e (patch)
treef8551efb1ed27557a5c0edd35ccfc8a7189cf437 /azure-pipelines.yml
parentf1b1985cd6ca80c002ba099efc3f17573d503f2e (diff)
downloadcoreclr-106a1338f2c361df0a2726101d8c7acd4582d43e.tar.gz
coreclr-106a1338f2c361df0a2726101d8c7acd4582d43e.tar.bz2
coreclr-106a1338f2c361df0a2726101d8c7acd4582d43e.zip
clone the whole code block and have two separate blocks for jobs
- one for coreclr-ci and another for coreclr-outerloop.
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml63
1 files changed, 49 insertions, 14 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 6a390cbb91..312d3f60ea 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -92,7 +92,7 @@ jobs:
# https://github.com/Microsoft/azure-pipelines-yaml/pull/46 for more information
#
-# Debug build (Pull request)
+# Debug builds - PullRequest & coreclr-ci / innerloop
#
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
- template: eng/platform-matrix.yml
@@ -103,6 +103,15 @@ jobs:
platforms:
- Windows_NT_x64
- Windows_NT_x86
+
+#
+# Debug builds - PullRequest & coreclr-outerloop
+#
+- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: build-job.yml
+ buildConfig: debug
${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop') }}:
platforms:
- Linux_arm
@@ -116,20 +125,13 @@ jobs:
- Windows_NT_arm64
#
-# Checked build
+# Checked builds - coreclr-ci / innerloop
#
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- template: eng/platform-matrix.yml
parameters:
jobTemplate: build-job.yml
buildConfig: checked
- ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress0x3-gcstress0xc') }}:
- platforms:
- - Linux_arm
- - Linux_arm64
- - Linux_x64
- - Windows_NT_x64
- - Windows_NT_x86
${{ if eq(variables['Build.DefinitionName'], 'coreclr-ci') }}:
platforms:
- Linux_arm
@@ -142,12 +144,37 @@ jobs:
- Windows_NT_arm64
- Windows_NT_x64
- Windows_NT_x86
+
+#
+# Checked builds - coreclr-outerloop
+#
+- ${{ if eq(variables['System.TeamProject'], 'public') }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: build-job.yml
+ buildConfig: checked
${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop') }}:
platforms:
- Linux_rhel6_x64
#
-# Release build (Pull request)
+# Checked builds - gcstress
+#
+- ${{ if eq(variables['System.TeamProject'], 'public') }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: build-job.yml
+ buildConfig: checked
+ ${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress0x3-gcstress0xc') }}:
+ platforms:
+ - Linux_arm
+ - Linux_arm64
+ - Linux_x64
+ - Windows_NT_x64
+ - Windows_NT_x86
+
+#
+# Release builds - PullRequest & coreclr-ci / innerloop
#
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
- template: eng/platform-matrix.yml
@@ -162,6 +189,15 @@ jobs:
- Windows_NT_arm
- Windows_NT_arm64
- Windows_NT_x64
+
+#
+# Release builds - PullRequest & coreclr-outerloop
+#
+- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: build-job.yml
+ buildConfig: release
${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop') }}:
platforms:
- Linux_arm
@@ -171,7 +207,7 @@ jobs:
- Windows_NT_x86
#
-# Release build (Official build)
+# Release builds (Official build) - non-PullRequest
#
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
- template: eng/platform-matrix.yml
@@ -185,10 +221,9 @@ jobs:
timeoutInMinutes: 120
#
-# Checked test builds
+# Checked test builds - PullRequest
+# The test jobs that can be triggered by a PR, manually from ADO and that are scheduled
#
-
-# The jobs that can be triggered in PR, manually from ADO and that are scheduled
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'Manual', 'Schedule')) }}:
- template: eng/platform-matrix.yml
parameters: