diff options
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 63 |
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: |