summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorJarret Shook <jashoo@microsoft.com>2018-12-03 12:46:35 -0800
committerGitHub <noreply@github.com>2018-12-03 12:46:35 -0800
commit5632c9e3ac7f9dd6b858f175b2cf97963be996c4 (patch)
treec25d68fe779bd5f4160cdef213c2b7ddf441de75 /azure-pipelines.yml
parentf8b4745ae754774ebf2a802ef1fd1f2bf6dbd024 (diff)
downloadcoreclr-5632c9e3ac7f9dd6b858f175b2cf97963be996c4.tar.gz
coreclr-5632c9e3ac7f9dd6b858f175b2cf97963be996c4.tar.bz2
coreclr-5632c9e3ac7f9dd6b858f175b2cf97963be996c4.zip
Correct platorm reach for the Official build (#21310)
* Correct platorm reach for the Official build Does the following: 1. Sets up a ci rule for master and a pr rule for master 2. Corrects the OSX queues 3. Corrects ubuntu internal queue 4. Converts all linux jobs to build using containers 5. Only runs official builds on: Pri1, release, bringing us to parity with old process 6. Fixes centos build-test 7. Adds a super-annoying groupname tag that avoids name mangling. * make sure we only add triggers for internal builds * Fix syntax * Missing : * Remove pr/ci * Fix internal queue name * Correct Public/internal choices. * Add crossgen as well * Correct indentation * Correct checked pri1 tests * Address pr feedback * Add todo comments
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml138
1 files changed, 81 insertions, 57 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index ae8191ff28..92de971684 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,6 +1,25 @@
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
+resources:
+ containers:
+ - container: ubuntu_1404_arm_cross_build_image
+ image: microsoft/dotnet-buildtools-prereqs:ubuntu-14.04-cross-e435274-20180426002420
+
+ - container: ubuntu_1604_arm64_cross_build_image
+ image: microsoft/dotnet-buildtools-prereqs:ubuntu-16.04-cross-arm64-a3ae44b-20180315221921
+
+ - container: ubuntu_1604_x64_build_image
+ image: microsoft/dotnet-buildtools-prereqs:ubuntu-16.04-c103199-20180628134544
+
+ - container: musl_x64_build_image
+ image: microsoft/dotnet-buildtools-prereqs:alpine-3.6-e2521f8-20180716231200
+
+ - container: centos7_x64_build_image
+ image: microsoft/dotnet-buildtools-prereqs:centos-7-d485f41-20173404063424
+
+ - container: centos6_x64_build_image
+ image: microsoft/dotnet-buildtools-prereqs:centos-6-376e1a3-20174311014331
jobs:
@@ -58,30 +77,30 @@ jobs:
## | (passed-in jobTemplate) | (arcade)
## \------> test-job.yml ------/
-
+# TODO: simplify logic surrounding official build/ci. See
+# https://github.com/Microsoft/azure-pipelines-yaml/pull/46 for more information
#
-# Debug build
+# Debug build (CI)
#
-
-- template: eng/platform-matrix.yml
- parameters:
- jobTemplate: build-job.yml
- buildConfig: debug
+- ${{ if eq(variables['System.TeamProject'], 'public') }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: build-job.yml
+ buildConfig: debug
#
-# Checked build
+# Checked build (CI)
#
-
-- template: eng/platform-matrix.yml
- parameters:
- jobTemplate: build-job.yml
- buildConfig: checked
+- ${{ if eq(variables['System.TeamProject'], 'public') }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: build-job.yml
+ buildConfig: checked
#
-# Release build
+# Release build (Official Build)
#
-
- template: eng/platform-matrix.yml
parameters:
jobTemplate: build-job.yml
@@ -91,53 +110,58 @@ jobs:
# Checked test builds
#
-# Pri0
-- template: eng/platform-matrix.yml
- parameters:
- jobTemplate: test-job.yml
- buildConfig: checked
- jobParameters:
- priority: 0
-
-# Pri1
-- template: eng/platform-matrix.yml
- parameters:
- jobTemplate: test-job.yml
- buildConfig: checked
- jobParameters:
- priority: 1
- scenarios: 'normal;jitstress2'
-
-# Pri1 crossgen
-- template: eng/platform-matrix.yml
- parameters:
- jobTemplate: test-job.yml
- buildConfig: checked
- jobParameters:
- priority: 1
- crossgen: true
- scenarios: 'normal;jitstress2'
+# Pri0 (CI)
+- ${{ if eq(variables['System.TeamProject'], 'public') }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: test-job.yml
+ buildConfig: checked
+ jobParameters:
+ priority: 0
+
+# Pri1 (CI)
+- ${{ if eq(variables['System.TeamProject'], 'public') }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: test-job.yml
+ buildConfig: checked
+ jobParameters:
+ priority: 1
+ scenarios: 'normal;jitstress2'
+
+# Pri1 crossgen (CI)
+- ${{ if eq(variables['System.TeamProject'], 'public') }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: test-job.yml
+ buildConfig: checked
+ jobParameters:
+ priority: 1
+ crossgen: true
+ scenarios: 'normal;jitstress2'
#
-# Release test builds
+# Release test builds (Official Build)
#
# Pri1
-- template: eng/platform-matrix.yml
- parameters:
- jobTemplate: test-job.yml
- buildConfig: release
- jobParameters:
- priority: 1
-
-# Pri1 crossgen
-- template: eng/platform-matrix.yml
- parameters:
- jobTemplate: test-job.yml
- buildConfig: release
- jobParameters:
- priority: 1
- crossgen: true
+- ${{ if ne(variables['System.TeamProject'], 'public') }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: test-job.yml
+ buildConfig: release
+ jobParameters:
+ priority: 1
+
+# Pri1 crossgen (Official Build)
+- ${{ if eq(variables['System.TeamProject'], 'public') }}:
+ - template: eng/platform-matrix.yml
+ parameters:
+ jobTemplate: test-job.yml
+ buildConfig: release
+ jobParameters:
+ priority: 1
+ crossgen: true
# Publish build information to Build Assets Registry