summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2019-03-29 15:20:13 -0700
committerBrian Sullivan <briansul@microsoft.com>2019-03-29 15:20:13 -0700
commitae234aa89ba38692b39c32cc413c674745d6c42f (patch)
tree6594664e770fb2b2cafd55c26202a112fa53c256 /azure-pipelines.yml
parentce64f517fa68650f732938b8806bb58afccf2641 (diff)
downloadcoreclr-ae234aa89ba38692b39c32cc413c674745d6c42f.tar.gz
coreclr-ae234aa89ba38692b39c32cc413c674745d6c42f.tar.bz2
coreclr-ae234aa89ba38692b39c32cc413c674745d6c42f.zip
Rework Debug/Release builds
Revert Check build changes
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml131
1 files changed, 43 insertions, 88 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index e3a984b1ef..7400b6496a 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -92,112 +92,67 @@ jobs:
# https://github.com/Microsoft/azure-pipelines-yaml/pull/46 for more information
#
-# 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
- parameters:
- jobTemplate: build-job.yml
- buildConfig: debug
- 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-outerloop')) }}:
- - template: eng/platform-matrix.yml
- parameters:
- jobTemplate: build-job.yml
- buildConfig: debug
- platforms:
- - Linux_arm
- - Linux_arm64
- - Linux_musl_arm64
- - Linux_musl_x64
- - Linux_rhel6_x64
- - Linux_x64
- - OSX_x64
- - Windows_NT_arm
- - Windows_NT_arm64
-
-#
-# Checked builds - coreclr-ci / innerloop
+# Debug builds
#
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
- template: eng/platform-matrix.yml
parameters:
jobTemplate: build-job.yml
- buildConfig: checked
- platforms:
- - Linux_arm
- - Linux_arm64
- - Linux_musl_arm64
- - Linux_musl_x64
- - Linux_x64
- - OSX_x64
- - Windows_NT_arm
- - Windows_NT_arm64
- - Windows_NT_x64
- - Windows_NT_x86
-
-#
-# Checked builds - coreclr-outerloop
-#
-- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.DefinitionName'], 'coreclr-outerloop')) }}:
- - template: eng/platform-matrix.yml
- parameters:
- jobTemplate: build-job.yml
- buildConfig: checked
- platforms:
- - Linux_rhel6_x64
+ buildConfig: debug
+ ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
+ platforms:
+ - Windows_NT_x64
+ - Windows_NT_x86
+ ${{ if in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI') }}:
+ platforms:
+ - Linux_arm
+ - Linux_arm64
+ - Linux_musl_arm64
+ - Linux_musl_x64
+ - Linux_rhel6_x64
+ - Linux_x64
+ - OSX_x64
+ - Windows_NT_arm
+ - Windows_NT_arm64
#
-# Checked builds - gcstress
+# Checked build
#
-- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress0x3-gcstress0xc') }}:
+- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- template: eng/platform-matrix.yml
parameters:
jobTemplate: build-job.yml
buildConfig: checked
- 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
- parameters:
- jobTemplate: build-job.yml
- buildConfig: release
- platforms:
- - Linux_arm64
- - Linux_musl_x64
- - Linux_rhel6_x64
- - Windows_NT_arm
- - Windows_NT_arm64
- - Windows_NT_x64
-
+ ${{ 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-outerloop
+# Release builds
#
-- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-outerloop') }}:
+- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
- template: eng/platform-matrix.yml
parameters:
jobTemplate: build-job.yml
buildConfig: release
- platforms:
- - Linux_arm
- - Linux_musl_arm64
- - Linux_x64
- - OSX_x64
- - Windows_NT_x86
+ ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
+ platforms:
+ - Linux_arm64
+ - Linux_musl_x64
+ - Linux_rhel6_x64
+ - Windows_NT_arm
+ - Windows_NT_arm64
+ - Windows_NT_x64
+ ${{ if in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI') }}:
+ platforms:
+ - Linux_arm
+ - Linux_musl_arm64
+ - Linux_x64
+ - OSX_x64
+ - Windows_NT_x86
#
# Release builds (Official build) - non-PullRequest