From f3faed7da1d552f263bcca267baecdcf6e92fa3e Mon Sep 17 00:00:00 2001 From: Egor Chesakov Date: Thu, 14 Feb 2019 08:20:06 -0800 Subject: [PATCH] Add coreclr-outerloop build definition jobs (dotnet/coreclr#22578) Commit migrated from https://github.com/dotnet/coreclr/commit/340c278f750a9e1127e66e17fe3ac3c125ead35f --- eng/pipelines/coreclr/azure-pipelines.yml | 34 +++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/eng/pipelines/coreclr/azure-pipelines.yml b/eng/pipelines/coreclr/azure-pipelines.yml index 77a2d01..8fb69c9 100644 --- a/eng/pipelines/coreclr/azure-pipelines.yml +++ b/eng/pipelines/coreclr/azure-pipelines.yml @@ -94,7 +94,7 @@ jobs: # # Debug build (Pull Request) # -- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}: +- ${{ 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 @@ -110,9 +110,18 @@ jobs: buildConfig: checked # -# Release build (Official Build, Pull Request) +# Release build (Pull Request) # -- ${{ if xor(eq(variables['System.TeamProject'], 'internal'), eq(variables['Build.Reason'], 'PullRequest')) }}: +- ${{ 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 + +# +# Release build (Official Build) +# +- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}: - template: eng/platform-matrix.yml parameters: jobTemplate: build-job.yml @@ -128,7 +137,7 @@ jobs: # # Pri0 (Pull Request) -- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}: +- ${{ 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: test-job.yml @@ -150,6 +159,23 @@ jobs: # "PerTest" corresponds to individual test running time (i.e. __TestTimeout). timeoutPerTestInMinutes: 10 +# Pri1 (Pull Request, 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: test-job.yml + buildConfig: checked + jobParameters: + priority: 1 + scenarios: + asString: 'normal,no_tiered_compilation' + asArray: + - normal + - no_tiered_compilation + timeoutTotalInMinutes: 360 + timeoutPerTestCollectionInMinutes: 60 + timeoutPerTestInMinutes: 10 + # Pri1 (CI) - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}: - template: eng/platform-matrix.yml -- 2.7.4