1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-12 10:40:30 +09:00

Move more yaml shared templates to common (#175)

* Move more shared components to common and move helix queues out of platform-matrix

* PR Feedback
This commit is contained in:
Santiago Fernandez Madero 2019-11-21 16:26:18 -08:00 committed by GitHub
parent c64367af5f
commit 47701e4359
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 331 additions and 186 deletions

View file

@ -1,9 +1,5 @@
### Check out job pulls down the GIT repository and packs its contents
### Check out job creating a git bundle and publishing it
### into an Azure artifact for reuse by the subsequent build and test execution phases.
### We're using two separate jobs for Windows and all other platforms due to the need
### to use different compression formats (Windows doesn't support tar.gz and the Linux
### and OSX build clients don't have 7-zip installed) and simplify other details such
### as line endings.
jobs:
- job: checkout
displayName: Checkout

View file

@ -13,6 +13,9 @@ parameters:
# 'all' - the queues used for non-PR, non-CI test runs, e.g., Manual or Scheduled runs. Typically this is all available queues.
# 'corefx' - the queues used for a corefx test run.
helixQueueGroup: 'pr'
# helixQueuesTemplate is a yaml template which will be expanded in order to set up the helix queues
# for the given platform and helixQueueGroup.
helixQueuesTemplate: ''
stagedBuild: false
# When set to false, suppresses reuse of OSX managed build artifacts (for pipelines without an OSX obj)
managedOsxBuild: true
@ -26,21 +29,18 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Linux
archType: arm
platform: Linux_arm
container:
image: ubuntu-16.04-cross-14.04-23cacb0-20191023143847
registry: mcr
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
managedTestBuildOsGroup: Linux
helixQueues:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-30f6673-20190814153226
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Debian.9.Arm32)Ubuntu.1804.Armarch@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm32v7-74c9941-20190620155841
- (Ubuntu.1804.Arm32)Ubuntu.1804.Armarch@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-30f6673-20190814153226
crossrootfsDir: '/crossrootfs/arm'
${{ insert }}: ${{ parameters.jobParameters }}
@ -50,23 +50,18 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Linux
archType: arm64
platform: Linux_arm64
container:
image: ubuntu-16.04-cross-arm64-cfdd435-20191023143847
registry: mcr
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
managedTestBuildOsGroup: Linux
helixQueues:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-a45aeeb-20190620155855
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- (Debian.9.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-74c9941-20190620155840
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Debian.9.Arm64)Ubuntu.1804.ArmArch@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-74c9941-20190620155840
- (Ubuntu.1804.Arm64)Ubuntu.1804.ArmArch@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-a45aeeb-20190620155855
crossrootfsDir: '/crossrootfs/arm64'
${{ insert }}: ${{ parameters.jobParameters }}
@ -76,27 +71,23 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Linux
osSubgroup: _musl
archType: x64
platform: Linux_musl_x64
container:
image: alpine-3.9-WithNode-0fc54a3-20190918214015
registry: mcr
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ if ne(parameters.managedOsxBuild, true) }}:
managedTestBuildOsGroup: Linux
managedTestBuildOsSubgroup: _musl
${{ if eq(parameters.managedOsxBuild, true) }}:
managedTestBuildOsGroup: OSX
helixQueues:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.310.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.10-helix-3043688-20190918214010
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.38.Amd64)ubuntu.1604.amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-09ca40b-20190508143246
- (Alpine.39.Amd64)ubuntu.1604.amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.9-helix-09ca40b-20190508143246
- (Alpine.310.Amd64)ubuntu.1604.amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.10-helix-3043688-20190918214010
${{ insert }}: ${{ parameters.jobParameters }}
# Linux musl arm64
@ -105,21 +96,19 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Linux
osSubgroup: _musl
archType: arm64
platform: Linux_musl_arm64
container:
image: ubuntu-16.04-cross-arm64-alpine-406629a-20191023143847
registry: mcr
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
managedTestBuildOsGroup: Linux
helixQueues:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.38.Arm64.Open)Ubuntu.1604.Arm64.Docker.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-a45aeeb-20190620184035
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.38.Arm64)Ubuntu.1604.Arm64.Docker@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-a45aeeb-20190620184035
crossrootfsDir: '/crossrootfs/arm64'
${{ insert }}: ${{ parameters.jobParameters }}
@ -129,24 +118,22 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Linux
osSubgroup: _rhel6
archType: x64
platform: Linux_rhel6_x64
container:
image: centos-6-f39df28-20191023143802
registry: mcr
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ if ne(parameters.managedOsxBuild, true) }}:
managedTestBuildOsGroup: Linux_rhel
${{ if eq(parameters.managedOsxBuild, true) }}:
managedTestBuildOsGroup: OSX
helixQueues:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- RedHat.6.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- RedHat.6.Amd64
${{ insert }}: ${{ parameters.jobParameters }}
# Linux x64
@ -155,34 +142,21 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Linux
archType: x64
platform: Linux_x64
container:
image: centos-7-f39df28-20191023143754
registry: mcr
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
${{ if ne(parameters.managedOsxBuild, true) }}:
managedTestBuildOsGroup: Linux
${{ if eq(parameters.managedOsxBuild, true) }}:
managedTestBuildOsGroup: OSX
helixQueues:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- Ubuntu.1804.Amd64.Open
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- Debian.9.Amd64.Open
- Ubuntu.1604.Amd64.Open
- Ubuntu.1804.Amd64.Open
- Centos.7.Amd64.Open
- RedHat.7.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Debian.9.Amd64
- Ubuntu.1604.Amd64
- Ubuntu.1804.Amd64
- Centos.7.Amd64
- (Fedora.28.Amd64)Ubuntu.1604.amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-28-helix-09ca40b-20190508143249
- RedHat.7.Amd64
${{ insert }}: ${{ parameters.jobParameters }}
# FreeBSD
@ -209,21 +183,15 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: OSX
archType: x64
platform: OSX_x64
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
managedTestBuildOsGroup: OSX
helixQueues:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- OSX.1013.Amd64.Open
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- OSX.1013.Amd64.Open
- OSX.1014.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- OSX.1013.Amd64
- OSX.1014.Amd64
${{ insert }}: ${{ parameters.jobParameters }}
# Windows x64
@ -232,26 +200,15 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Windows_NT
archType: x64
platform: Windows_NT_x64
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
managedTestBuildOsGroup: Windows_NT
helixQueues:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- Windows.10.Amd64.Open
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-61052b7-20190723211353
- Windows.7.Amd64.Open
- Windows.81.Amd64.Open
- Windows.10.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.7.Amd64
- Windows.81.Amd64
- Windows.10.Amd64
- Windows.10.Amd64.Core
- (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-61052b7-20190723211353
${{ insert }}: ${{ parameters.jobParameters }}
# Windows x86
@ -260,24 +217,15 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Windows_NT
archType: x86
platform: Windows_NT_x86
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
managedTestBuildOsGroup: Windows_NT
helixQueues:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- Windows.10.Amd64.Open
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- Windows.7.Amd64.Open
- Windows.81.Amd64.Open
- Windows.10.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.7.Amd64
- Windows.81.Amd64
- Windows.10.Amd64
- Windows.10.Amd64.Core
${{ insert }}: ${{ parameters.jobParameters }}
# Windows arm
@ -286,20 +234,14 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Windows_NT
archType: arm
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
managedTestBuildOsGroup: Windows_NT
helixQueues:
# NOTE: there are no queues specified for Windows_NT_arm public with helixQueueGroup='pr'. This means that specifying
# Windows_NT_arm for a PR job causes a build, but no test run. If the test build and test runs were separate jobs,
# this could be more explicit (and less subtle).
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.helixQueueGroup, 'ci', 'corefx')) }}:
- Windows.10.Arm64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.10.Arm64
${{ insert }}: ${{ parameters.jobParameters }}
# Windows arm64
@ -308,14 +250,13 @@ jobs:
- template: xplat-setup.yml
parameters:
jobTemplate: ${{ parameters.jobTemplate }}
helixQueuesTemplate: ${{ parameters.helixQueuesTemplate }}
osGroup: Windows_NT
archType: arm64
platform: Windows_NT_arm64
jobParameters:
stagedBuild: ${{ parameters.stagedBuild }}
buildConfig: ${{ parameters.buildConfig }}
helixQueueGroup: ${{ parameters.helixQueueGroup }}
managedTestBuildOsGroup: Windows_NT
helixQueues:
# TODO: Consider adding Windows.10.Arm64.Open here if capacity is enough for handling both Windows_NT/arm and Windows_NT/arm64 testing
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.10.Arm64
${{ insert }}: ${{ parameters.jobParameters }}

View file

@ -0,0 +1,25 @@
parameters:
rootFolder: ''
includeRootFolder: false
archiveType: ''
tarCompression: ''
archiveExtension: ''
artifactName: ''
displayName: ''
steps:
# Zip Artifact
- task: ArchiveFiles@2
displayName: 'Zip ${{ parameters.displayName }}'
inputs:
rootFolderOrFile: ${{ parameters.rootFolder }}
archiveFile: $(Build.StagingDirectory)/${{ parameters.artifactName }}${{ parameters.archiveExtension }}
archiveType: ${{ parameters.archiveType }}
tarCompression: ${{ parameters.tarCompression }}
includeRootFolder: ${{ parameters.includeRootFolder }}
- task: PublishBuildArtifacts@1
displayName: 'Publish ${{ parameters.displayName }}'
inputs:
pathtoPublish: $(Build.StagingDirectory)/${{ parameters.artifactName }}${{ parameters.archiveExtension }}
artifactName: ${{ parameters.artifactName }}

View file

@ -4,10 +4,12 @@ parameters:
osSubgroup: ''
archType: ''
container: ''
helixQueuesTemplate: ''
platform: ''
jobParameters: {}
jobs:
- template: ${{ parameters.jobTemplate }}
- template: ${{ coalesce(parameters.helixQueuesTemplate, parameters.jobTemplate) }}
parameters:
variables:
- ${{ if eq(parameters.osGroup, 'Windows_NT') }}:
@ -21,6 +23,8 @@ jobs:
value: '.cmd'
- name: dir
value: '\'
- name: _msbuildCommand
value: powershell -ExecutionPolicy ByPass -NoProfile eng\common\msbuild.ps1 -warnaserror:0 -ci
- ${{ if ne(parameters.osGroup, 'Windows_NT') }}:
- name: archiveExtension
@ -33,6 +37,8 @@ jobs:
value: '.sh'
- name: dir
value: '/'
- name: _msbuildCommand
value: ./eng/common/msbuild.sh --warnaserror false --ci
- ${{ if ne(parameters.jobParameters.crossrootfsDir, '') }}:
# This is only required for cross builds.
@ -49,4 +55,43 @@ jobs:
${{ if ne(parameters.container.registry, 'mcr') }}:
container: ${{ format('{0}:{1}', parameters.container.registry, parameters.container.image) }}
${{ insert }}: ${{ parameters.jobParameters }}
${{ if eq(parameters.jobParameters.pool, '') }}:
pool:
# Public Linux Build Pool
${{ if and(eq(parameters.osGroup, 'Linux'), eq(variables['System.TeamProject'], 'public')) }}:
name: NetCorePublic-Pool
queue: BuildPool.Ubuntu.1604.Amd64.Open
# Official Build Linux Pool
${{ if and(eq(parameters.osGroup, 'Linux'), ne(variables['System.TeamProject'], 'public')) }}:
name: NetCoreInternal-Pool
queue: BuildPool.Ubuntu.1604.Amd64
# FreeBSD builds only in the internal project
${{ if and(eq(parameters.osGroup, 'FreeBSD'), ne(variables['System.TeamProject'], 'public')) }}:
name: dnceng-freebsd-internal
# Official Build OSX Pool
${{ if and(eq(parameters.osGroup, 'OSX'), ne(variables['System.TeamProject'], 'public')) }}:
name: Hosted Mac Internal
# Public OSX Build Pool
${{ if and(eq(parameters.osGroup, 'OSX'), eq(variables['System.TeamProject'], 'public')) }}:
name: Hosted macOS
# Official Build Windows Pool
${{ if and(eq(parameters.osGroup, 'Windows_NT'), ne(variables['System.TeamProject'], 'public')) }}:
name: NetCoreInternal-Pool
queue: BuildPool.Windows.10.Amd64.VS2019
# Public Windows Build Pool
${{ if and(eq(parameters.osGroup, 'Windows_NT'), eq(variables['System.TeamProject'], 'public')) }}:
name: NetCorePublic-Pool
queue: BuildPool.Windows.10.Amd64.VS2019.Open
${{ if eq(parameters.helixQueuesTemplate, '') }}:
${{ insert }}: ${{ parameters.jobParameters }}
${{ if ne(parameters.helixQueuesTemplate, '') }}:
jobTemplate: ${{ parameters.jobTemplate }}
jobParameters: ${{ parameters.jobParameters }}
platform: ${{ parameters.platform }}

View file

@ -27,7 +27,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
#
# Debug builds
@ -91,7 +91,6 @@ jobs:
- Windows_NT_arm64
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: ci
testGroup: outerloop
#
@ -103,6 +102,7 @@ jobs:
buildConfig: checked
platformGroup: all
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: outerloop
@ -125,6 +125,7 @@ jobs:
- Windows_NT_arm
- Windows_NT_arm64
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: outerloop
readyToRun: true
@ -140,6 +141,7 @@ jobs:
platforms:
- Linux_arm
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
#
# Formatting

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -44,6 +44,7 @@ jobs:
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: corefx
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: jitstress
corefxTests: true

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -44,6 +44,7 @@ jobs:
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: corefx
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: jitstress2-jitstressregs
corefxTests: true

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -44,6 +44,7 @@ jobs:
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: corefx
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: jitstressregs
corefxTests: true

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -44,6 +44,7 @@ jobs:
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: corefx
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: outerloop
corefxTests: true

View file

@ -6,7 +6,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -32,6 +32,7 @@ jobs:
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
buildConfig: checked
platforms:
- Linux_x64

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -37,7 +37,6 @@ jobs:
- Linux_arm64
- Windows_NT_x64
- Windows_NT_arm64
helixQueueGroup: ci
jobParameters:
testGroup: gc-longrunning
@ -51,6 +50,7 @@ jobs:
- Windows_NT_x64
- Windows_NT_arm64
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
managedOsxBuild: false
jobParameters:
testGroup: gc-longrunning

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -40,5 +40,6 @@ jobs:
- Windows_NT_x64
- Windows_NT_arm64
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: gc-simulator

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -31,6 +31,7 @@ jobs:
buildConfig: checked
platformGroup: gcstress
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
managedOsxBuild: false
jobParameters:
testGroup: gcstress-extra

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -30,5 +30,6 @@ jobs:
buildConfig: checked
platformGroup: gcstress
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: gcstress0x3-gcstress0xc

View file

@ -33,7 +33,7 @@ stages:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- stage: build
displayName: Build
@ -103,7 +103,6 @@ stages:
- Windows_NT_arm64
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: all
stagedBuild: true
jobParameters:
testGroup: outerloop
@ -118,6 +117,7 @@ stages:
buildConfig: release
platformGroup: all
helixQueueGroup: all
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
stagedBuild: true
jobParameters:
testGroup: outerloop
@ -133,6 +133,7 @@ stages:
platformGroup: all
helixQueueGroup: all
stagedBuild: true
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
readyToRun: true
displayNameArgs: R2R

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -34,5 +34,6 @@ jobs:
- Linux_arm64
- Windows_NT_arm64
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: jitstress-isas-arm

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -36,7 +36,6 @@ jobs:
- OSX_x64
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: ci
jobParameters:
testGroup: jitstress-isas-x86
@ -50,5 +49,6 @@ jobs:
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: jitstress-isas-x86

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -30,5 +30,6 @@ jobs:
buildConfig: checked
platformGroup: all
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: jitstress

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -30,5 +30,6 @@ jobs:
buildConfig: checked
platformGroup: all
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: jitstress2-jitstressregs

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -37,6 +37,7 @@ jobs:
- Windows_NT_x86
managedOsxBuild: false
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: jitstressregs-x86

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -29,7 +29,6 @@ jobs:
jobTemplate: /eng/pipelines/coreclr/templates/build-test-job.yml
buildConfig: checked
platformGroup: all
helixQueueGroup: ci
jobParameters:
testGroup: jitstressregs
@ -39,5 +38,6 @@ jobs:
buildConfig: checked
platformGroup: all
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: jitstressregs

View file

@ -28,7 +28,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:

View file

@ -27,7 +27,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
#
# Debug builds
@ -95,7 +95,6 @@ jobs:
- Windows_NT_arm64
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: pr
jobParameters:
testGroup: innerloop
@ -117,6 +116,7 @@ jobs:
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: pr
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: innerloop
@ -133,6 +133,7 @@ jobs:
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: pr
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: innerloop
readyToRun: true
@ -149,7 +150,7 @@ jobs:
- Linux_x64
- Windows_NT_x64
helixQueueGroup: pr
testGroup: innerloop
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: innerloop
corefxTests: true
@ -165,6 +166,7 @@ jobs:
platforms:
- Linux_arm
helixQueueGroup: pr
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
#
# Release test builds
@ -175,7 +177,6 @@ jobs:
buildConfig: release
platforms:
- OSX_x64
helixQueueGroup: pr
jobParameters:
testGroup: innerloop
@ -189,6 +190,7 @@ jobs:
platforms:
- Linux_musl_x64
helixQueueGroup: pr
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: innerloop

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -30,6 +30,7 @@ jobs:
buildConfig: checked
platformGroup: gcstress # r2r-extra testGroup runs gcstress15 scenario
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
managedOsxBuild: false
jobParameters:
testGroup: r2r-extra

View file

@ -6,7 +6,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -32,6 +32,7 @@ jobs:
- Windows_NT_x64
- Windows_NT_x86
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
managedOsxBuild: false
jobParameters:
testGroup: outerloop

View file

@ -14,7 +14,7 @@ jobs:
#
# Checkout repository
#
- template: templates/checkout-job.yml
- template: /eng/pipelines/common/checkout-job.yml
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
@ -37,6 +37,7 @@ jobs:
- Windows_NT_x86
managedOsxBuild: false
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: outerloop
runInUnloadableContext: true

View file

@ -11,6 +11,7 @@ parameters:
publishToBlobFeed: false
stagedBuild: false
variables: {}
pool: ''
### Product build
jobs:
@ -24,6 +25,7 @@ jobs:
helixType: 'build/product/'
enableMicrobuild: true
stagedBuild: ${{ parameters.stagedBuild }}
pool: ${{ parameters.pool }}
# Compute job name from template parameters
name: ${{ format('build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
@ -159,7 +161,7 @@ jobs:
condition: always()
# Publish product output directory for consumption by tests.
- template: /eng/pipelines/coreclr/templates/upload-artifact-step.yml
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(buildProductRootFolderPath)
includeRootFolder: false
@ -170,7 +172,7 @@ jobs:
displayName: 'product build'
# Publish test native components for consumption by test execution.
- template: /eng/pipelines/coreclr/templates/upload-artifact-step.yml
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(testNativeRootFolderPath)
includeRootFolder: false
@ -181,7 +183,7 @@ jobs:
displayName: 'native test components'
# Publish test build root for consumption by test execution.
- template: /eng/pipelines/coreclr/templates/upload-artifact-step.yml
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(testBuildRootFolderPath)
includeRootFolder: false

View file

@ -9,6 +9,7 @@ parameters:
condition: true
stagedBuild: false
variables: {}
pool: ''
### Build managed test components (native components are getting built as part
### of the the product build job).
@ -31,6 +32,7 @@ jobs:
testGroup: ${{ parameters.testGroup }}
stagedBuild: ${{ parameters.stagedBuild }}
variables: ${{ parameters.variables }}
pool: ${{ parameters.pool }}
# Test jobs should continue on error for internal builds
${{ if eq(variables['System.TeamProject'], 'internal') }}:
@ -74,7 +76,7 @@ jobs:
# Download product binaries directory
- template: /eng/pipelines/coreclr/templates/download-artifact-step.yml
- template: /eng/pipelines/common/download-artifact-step.yml
parameters:
unpackFolder: $(buildProductRootFolderPath)
artifactFileName: '$(buildProductArtifactName)$(archiveExtension)'
@ -92,7 +94,7 @@ jobs:
# Zip and publish managed test components
- template: /eng/pipelines/coreclr/templates/upload-artifact-step.yml
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(testRootFolderPath)
includeRootFolder: false
@ -105,7 +107,7 @@ jobs:
# Publish .packages/microsoft.net.sdk.il needed for traversing
# test projects during the copynativeonly command in run test job.
- template: /eng/pipelines/coreclr/templates/upload-artifact-step.yml
- template: /eng/pipelines/common/upload-artifact-step.yml
parameters:
rootFolder: $(microsoftNetSdkIlFolderPath)
includeRootFolder: false

View file

@ -8,6 +8,7 @@ parameters:
crossrootfsDir: ''
stagedBuild: false
variables: {}
pool: ''
### Crossgen-comparison job
###
@ -23,6 +24,7 @@ jobs:
osSubgroup: ${{ parameters.osSubgroup }}
stagedBuild: ${{ parameters.stagedBuild }}
helixType: 'test/crossgen-comparison/'
pool: ${{ parameters.pool }}
# Compute job name from template parameters
name: ${{ format('test_crossgen_comparison_{0}{1}_{1}_{2}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
@ -69,7 +71,7 @@ jobs:
steps:
# Download product build
- template: /eng/pipelines/coreclr/templates/download-artifact-step.yml
- template: /eng/pipelines/common/download-artifact-step.yml
parameters:
unpackFolder: $(buildProductRootFolderPath)
artifactFileName: '$(buildProductArtifactName)$(archiveExtension)'

View file

@ -8,6 +8,7 @@ parameters:
timeoutInMinutes: ''
stagedBuild: false
variables: {}
pool: ''
### Format job
jobs:
@ -24,6 +25,7 @@ jobs:
name: ${{ format('format_{0}{1}_{2}', parameters.osGroup, parameters.osSubgroup, parameters.archType) }}
displayName: ${{ format('Formatting {0}{1} {2}', parameters.osGroup, parameters.osSubgroup, parameters.archType) }}
helixType: 'format'
pool: ${{ parameters.pool }}
variables: ${{ parameters.variables }}
steps:
- task: UseDotNet@2

View file

@ -0,0 +1,139 @@
parameters:
jobTemplate: ''
variables: {}
osGroup: ''
osSubgroup: ''
archType: ''
container: ''
pool: ''
platform: ''
jobParameters: {}
jobs:
- template: ${{ parameters.jobTemplate }}
parameters:
variables: ${{ parameters.variables }}
osGroup: ${{ parameters.osGroup }}
osSubgroup: ${{ parameters.osSubgroup }}
archType: ${{ parameters.archType }}
container: ${{ parameters.container }}
pool: ${{ parameters.pool }}
helixQueues:
# Linux arm
- ${{ if eq(parameters.platform, 'Linux_arm') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Ubuntu.1804.Arm32.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-30f6673-20190814153226
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Debian.9.Arm32)Ubuntu.1804.Armarch@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm32v7-74c9941-20190620155841
- (Ubuntu.1804.Arm32)Ubuntu.1804.Armarch@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-30f6673-20190814153226
# Linux arm64
- ${{ if eq(parameters.platform, 'Linux_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Ubuntu.1804.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-a45aeeb-20190620155855
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- (Debian.9.Arm64.Open)Ubuntu.1804.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-74c9941-20190620155840
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Debian.9.Arm64)Ubuntu.1804.ArmArch@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-74c9941-20190620155840
- (Ubuntu.1804.Arm64)Ubuntu.1804.ArmArch@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-a45aeeb-20190620155855
# Linux musl x64
- ${{ if eq(parameters.platform, 'Linux_musl_x64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.310.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.10-helix-3043688-20190918214010
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.38.Amd64)ubuntu.1604.amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-09ca40b-20190508143246
- (Alpine.39.Amd64)ubuntu.1604.amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.9-helix-09ca40b-20190508143246
- (Alpine.310.Amd64)ubuntu.1604.amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.10-helix-3043688-20190918214010
# Linux musl arm64
- ${{ if eq(parameters.platform, 'Linux_musl_arm64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- (Alpine.38.Arm64.Open)Ubuntu.1604.Arm64.Docker.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-a45aeeb-20190620184035
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- (Alpine.38.Arm64)Ubuntu.1604.Arm64.Docker@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-a45aeeb-20190620184035
# Linux rhel6 x64
- ${{ if eq(parameters.platform, 'Linux_rhel6_x64') }}:
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- RedHat.6.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- RedHat.6.Amd64
# Linux x64
- ${{ if eq(parameters.platform, 'Linux_x64') }}:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- Ubuntu.1804.Amd64.Open
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- Debian.9.Amd64.Open
- Ubuntu.1604.Amd64.Open
- Ubuntu.1804.Amd64.Open
- Centos.7.Amd64.Open
- RedHat.7.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Debian.9.Amd64
- Ubuntu.1604.Amd64
- Ubuntu.1804.Amd64
- Centos.7.Amd64
- (Fedora.28.Amd64)Ubuntu.1604.amd64@mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-28-helix-09ca40b-20190508143249
- RedHat.7.Amd64
# OSX x64
- ${{ if eq(parameters.platform, 'OSX_x64') }}:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- OSX.1013.Amd64.Open
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- OSX.1013.Amd64.Open
- OSX.1014.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- OSX.1013.Amd64
- OSX.1014.Amd64
# Windows_NT x64
- ${{ if eq(parameters.platform, 'Windows_NT_x64') }}:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- Windows.10.Amd64.Open
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-61052b7-20190723211353
- Windows.7.Amd64.Open
- Windows.81.Amd64.Open
- Windows.10.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.7.Amd64
- Windows.81.Amd64
- Windows.10.Amd64
- Windows.10.Amd64.Core
- (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-61052b7-20190723211353
# Windows_NT x86
- ${{ if eq(parameters.platform, 'Windows_NT_x86') }}:
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- Windows.10.Amd64.Open
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}:
- Windows.7.Amd64.Open
- Windows.81.Amd64.Open
- Windows.10.Amd64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.7.Amd64
- Windows.81.Amd64
- Windows.10.Amd64
- Windows.10.Amd64.Core
# Windows_NT arm
- ${{ if eq(parameters.platform, 'Windows_NT_arm') }}:
# NOTE: there are no queues specified for Windows_NT_arm public with helixQueueGroup='pr'. This means that specifying
# Windows_NT_arm for a PR job causes a build, but no test run. If the test build and test runs were separate jobs,
# this could be more explicit (and less subtle).
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'ci', 'corefx')) }}:
- Windows.10.Arm64.Open
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.10.Arm64
# Windows_NT arm
- ${{ if eq(parameters.platform, 'Windows_NT_arm64') }}:
# TODO: Consider adding Windows.10.Arm64.Open here if capacity is enough for handling both Windows_NT/arm and Windows_NT/arm64 testing
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- Windows.10.Arm64
${{ insert }}: ${{ parameters.jobParameters }}

View file

@ -6,6 +6,7 @@ parameters:
container: ''
framework: netcoreapp5.0 # Specify the appropriate framework when running release branches (ie netcoreapp3.0 for release/3.0)
variables: {}
pool: ''
### Perf job
@ -18,15 +19,7 @@ jobs:
# Compute job name from template parameters
jobName: ${{ format('perfbuild_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
displayName: ${{ format('Performance {0}{1} {2} {3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }}
pool:
# Hosted Linux Build Pool
${{ if eq(parameters.osGroup, 'Linux') }}:
name: NetCoreInternal-Pool
queue: BuildPool.Ubuntu.1604.Amd64
# Hosted Windows Build Pool
${{ if eq(parameters.osGroup, 'Windows_NT') }}:
name: NetCoreInternal-Pool
queue: BuildPool.Windows.10.Amd64.VS2019
pool: ${{ parameters.pool }}
buildConfig: ${{ parameters.buildConfig }}
archType: ${{ parameters.archType }}
osGroup: ${{ parameters.osGroup }}
@ -47,7 +40,7 @@ jobs:
# Download product binaries directory
- template: /eng/pipelines/coreclr/templates/download-artifact-step.yml
- template: /eng/pipelines/common/download-artifact-step.yml
parameters:
unpackFolder: $(buildProductRootFolderPath)
artifactFileName: '$(buildProductArtifactName)$(archiveExtension)'

View file

@ -17,6 +17,7 @@ parameters:
displayNameArgs: ''
runInUnloadableContext: false
variables: {}
pool: ''
### Test run job
@ -38,6 +39,7 @@ jobs:
corefxTests: ${{ parameters.corefxTests }}
stagedBuild: ${{ parameters.stagedBuild }}
helixType: 'build/tests/'
pool: ${{ parameters.pool }}
# Test jobs should continue on error for internal builds
${{ if eq(variables['System.TeamProject'], 'internal') }}:
@ -105,7 +107,7 @@ jobs:
# Download and unzip managed test artifacts
- ${{ if ne(parameters.corefxTests, true) }}:
- template: /eng/pipelines/coreclr/templates/download-artifact-step.yml
- template: /eng/pipelines/common/download-artifact-step.yml
parameters:
unpackFolder: '$(testRootFolderPath)'
artifactFileName: '$(testArtifactName)$(archiveExtension)'
@ -115,7 +117,7 @@ jobs:
# Download and unzip test build tree
- ${{ if ne(parameters.corefxTests, true) }}:
- template: /eng/pipelines/coreclr/templates/download-artifact-step.yml
- template: /eng/pipelines/common/download-artifact-step.yml
parameters:
unpackFolder: '$(testBuildRootFolderPath)'
cleanUnpackFolder: false
@ -125,7 +127,7 @@ jobs:
# Download product binaries directory
- template: /eng/pipelines/coreclr/templates/download-artifact-step.yml
- template: /eng/pipelines/common/download-artifact-step.yml
parameters:
unpackFolder: $(buildProductRootFolderPath)
artifactFileName: '$(buildProductArtifactName)$(archiveExtension)'
@ -136,7 +138,7 @@ jobs:
# Download and unzip the Microsoft.NET.Sdk.IL package needed for traversing
# ilproj test projects during copynativeonly.
- ${{ if ne(parameters.corefxTests, true) }}:
- template: /eng/pipelines/coreclr/templates/download-artifact-step.yml
- template: /eng/pipelines/common/download-artifact-step.yml
parameters:
unpackFolder: '$(microsoftNetSdkIlFolderPath)'
artifactFileName: '$(microsoftNetSdkIlArtifactName)$(archiveExtension)'
@ -146,7 +148,7 @@ jobs:
# Download and unzip native test artifacts
- ${{ if ne(parameters.corefxTests, true) }}:
- template: /eng/pipelines/coreclr/templates/download-artifact-step.yml
- template: /eng/pipelines/common/download-artifact-step.yml
parameters:
unpackFolder: '$(testNativeRootFolderPath)'
artifactFileName: '$(testNativeArtifactName)$(archiveExtension)'

View file

@ -17,6 +17,7 @@ parameters:
condition: true
stagedBuild: false
variables: {}
pool: ''
### Test job
@ -37,6 +38,7 @@ jobs:
condition: ${{ parameters.condition }}
stagedBuild: ${{ parameters.stagedBuild }}
variables: ${{ parameters.variables }}
pool: ${{ parameters.pool }}
- template: /eng/pipelines/coreclr/templates/run-test-job.yml
parameters:
@ -56,3 +58,4 @@ jobs:
stagedBuild: ${{ parameters.stagedBuild }}
runInUnloadableContext: ${{ parameters.runInUnloadableContext }}
variables: ${{ parameters.variables }}
pool: ${{ parameters.pool }}

View file

@ -9,6 +9,7 @@ parameters:
crossrootfsDir: ''
stagedBuild: false
strategy: ''
pool: ''
# arcade-specific parameters
condition: ''
@ -48,39 +49,7 @@ jobs:
strategy: ${{ parameters.strategy }}
pool:
# Public Linux Build Pool
${{ if and(eq(parameters.osGroup, 'Linux'), eq(variables['System.TeamProject'], 'public')) }}:
name: NetCorePublic-Pool
queue: BuildPool.Ubuntu.1604.Amd64.Open
# Official Build Linux Pool
${{ if and(eq(parameters.osGroup, 'Linux'), ne(variables['System.TeamProject'], 'public')) }}:
name: NetCoreInternal-Pool
queue: BuildPool.Ubuntu.1604.Amd64
# FreeBSD builds only in the internal project
${{ if and(eq(parameters.osGroup, 'FreeBSD'), ne(variables['System.TeamProject'], 'public')) }}:
name: dnceng-freebsd-internal
# Public OSX Build Pool
${{ if and(eq(parameters.osGroup, 'OSX'), ne(variables['System.TeamProject'], 'public')) }}:
name: Hosted Mac Internal
# Official Build OSX Pool
${{ if and(eq(parameters.osGroup, 'OSX'), eq(variables['System.TeamProject'], 'public')) }}:
name: Hosted MacOS
# Official Build Windows Pool
${{ if and(eq(parameters.osGroup, 'Windows_NT'), ne(variables['System.TeamProject'], 'public')) }}:
name: NetCoreInternal-Pool
queue: BuildPool.Windows.10.Amd64.VS2019
# Public Windows Build Pool
${{ if and(eq(parameters.osGroup, 'Windows_NT'), eq(variables['System.TeamProject'], 'public')) }}:
name: NetCorePublic-Pool
queue: BuildPool.Windows.10.Amd64.VS2019.Open
pool: ${{ parameters.pool }}
workspace:
clean: all

View file

@ -13,6 +13,7 @@ parameters:
corefxTests: false
stagedBuild: false
strategy: ''
pool: ''
# arcade-specific parameters
condition: ''
@ -38,6 +39,7 @@ jobs:
crossrootfsDir: ${{ parameters.crossrootfsDir }}
stagedBuild: ${{ parameters.stagedBuild }}
strategy: ${{ parameters.strategy }}
pool: ${{ parameters.pool }}
# arcade-specific parameters
condition: ${{ parameters.condition }}

View file

@ -33,6 +33,7 @@ pr:
- src/libraries/*
- eng/pipelines/coreclr/*
- eng/pipelines/libraries/*
- eng/pipelines/common/*
- docs/*
- README.md
- CONTRIBUTING.md

View file

@ -43,6 +43,7 @@ pr:
- src/coreclr/*
- eng/pipelines/coreclr/*
- eng/pipelines/installer/*
- eng/pipelines/common/*
resources:
containers: