diff --git a/eng/pipelines/common/platform-matrix.yml b/eng/pipelines/common/platform-matrix.yml new file mode 100644 index 0000000000000000000000000000000000000000..b270a848684d3eb9edc475a9c196a0c45e804390 --- /dev/null +++ b/eng/pipelines/common/platform-matrix.yml @@ -0,0 +1,321 @@ +parameters: + jobTemplate: '' + buildConfig: '' + platforms: [] + # platformGroup is a named collection of platforms. Allowed values: + # 'all' - all platforms + # 'gcstress' - platforms that support running under GCStress0x3 and GCStress0xC scenarios + platformGroup: '' + # helixQueueGroup is a named collection of Helix Queues. If specified, it determines which Helix queues are + # used, instead of the usual criteria. Allowed values: + # 'pr' - the queues used for a pull request for the platform. Typically a small set. + # 'ci' - the queues used for a CI (post-merge) test run. + # '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' + stagedBuild: false + # When set to false, suppresses reuse of OSX managed build artifacts (for pipelines without an OSX obj) + managedOsxBuild: true + jobParameters: {} + +jobs: + +# Linux arm + +- ${{ if or(containsValue(parameters.platforms, 'Linux_arm'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: Linux + archType: arm + container: + image: ubuntu-16.04-cross-14.04-23cacb0-20191023143847 + registry: mcr + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + 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 }} + +# Linux arm64 + +- ${{ if or(containsValue(parameters.platforms, 'Linux_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: Linux + archType: arm64 + container: + image: ubuntu-16.04-cross-arm64-cfdd435-20191023143847 + registry: mcr + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + 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 }} + +# Linux musl x64 + +- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_x64'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: Linux + osSubgroup: _musl + archType: x64 + container: + image: alpine-3.9-WithNode-0fc54a3-20190918214015 + registry: mcr + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ 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 + +- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm64'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: Linux + osSubgroup: _musl + archType: arm64 + container: + image: ubuntu-16.04-cross-arm64-alpine-406629a-20191023143847 + registry: mcr + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + managedTestBuildOsGroup: Linux + helixQueues: + - ${{ if eq(variables['System.TeamProject'], 'public') }}: + - (Alpine.38.Arm64.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-a45aeeb-20190620184035 + - ${{ if eq(variables['System.TeamProject'], 'internal') }}: + - (Alpine.38.Arm64)Ubuntu.1804.ArmArch@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-a45aeeb-20190620184035 + crossrootfsDir: '/crossrootfs/arm64' + ${{ insert }}: ${{ parameters.jobParameters }} + +# Linux rhel6 x64 + +- ${{ if or(containsValue(parameters.platforms, 'Linux_rhel6_x64'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: Linux + osSubgroup: _rhel6 + archType: x64 + container: + image: centos-6-f39df28-20191023143802 + registry: mcr + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ 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 + +- ${{ if or(containsValue(parameters.platforms, 'Linux_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: Linux + archType: x64 + container: + image: centos-7-f39df28-20191023143754 + registry: mcr + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + ${{ 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 + +# FreeBSD machines are currently offline. Re-enable in the official build when +# the machines are healthy. + +# - template: xplat-setup.yml +# parameters: +# jobTemplate: ${{ parameters.jobTemplate }} +# osGroup: FreeBSD +# archType: x64 +# jobParameters: +# buildConfig: ${{ parameters.buildConfig }} +# # There are no FreeBSD helix queues, so we don't run tests at the moment. +# helixQueues: +# asString: '' +# asArray: [] +# ${{ insert }}: ${{ parameters.jobParameters }} + +# macOS x64 + +- ${{ if or(containsValue(parameters.platforms, 'OSX_x64'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: OSX + archType: x64 + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + 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 + +- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: Windows_NT + archType: x64 + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + 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 + +- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_x86'), in(parameters.platformGroup, 'all', 'gcstress')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: Windows_NT + archType: x86 + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + 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 + +- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_arm'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: Windows_NT + archType: arm + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + 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 + +- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_arm64'), eq(parameters.platformGroup, 'all')) }}: + - template: xplat-setup.yml + parameters: + jobTemplate: ${{ parameters.jobTemplate }} + osGroup: Windows_NT + archType: arm64 + jobParameters: + stagedBuild: ${{ parameters.stagedBuild }} + buildConfig: ${{ parameters.buildConfig }} + 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 }} diff --git a/eng/pipelines/common/xplat-setup.yml b/eng/pipelines/common/xplat-setup.yml new file mode 100644 index 0000000000000000000000000000000000000000..ad9fec03eacbf28445a59033261181fda043bf3f --- /dev/null +++ b/eng/pipelines/common/xplat-setup.yml @@ -0,0 +1,52 @@ +parameters: + jobTemplate: '' + osGroup: '' + osSubgroup: '' + archType: '' + container: '' + jobParameters: {} + +jobs: +- template: ${{ parameters.jobTemplate }} + parameters: + variables: + - ${{ if eq(parameters.osGroup, 'Windows_NT') }}: + - name: archiveExtension + value: '.zip' + - name: archiveType + value: zip + - name: tarCompression + value: '' + - name: scriptExt + value: '.cmd' + - name: dir + value: '\' + + - ${{ if ne(parameters.osGroup, 'Windows_NT') }}: + - name: archiveExtension + value: '.tar.gz' + - name: archiveType + value: tar + - name: tarCompression + value: gz + - name: scriptExt + value: '.sh' + - name: dir + value: '/' + + - ${{ if ne(parameters.jobParameters.crossrootfsDir, '') }}: + # This is only required for cross builds. + - name: ROOTFS_DIR + value: ${{ parameters.jobParameters.crossrootfsDir }} + + osGroup: ${{ parameters.osGroup }} + osSubgroup: ${{ parameters.osSubgroup }} + archType: ${{ parameters.archType }} + + ${{ if ne(parameters.container, '') }}: + ${{ if eq(parameters.container.registry, 'mcr') }}: + container: ${{ format('{0}:{1}', 'mcr.microsoft.com/dotnet-buildtools/prereqs', parameters.container.image) }} + ${{ if ne(parameters.container.registry, 'mcr') }}: + container: ${{ format('{0}:{1}', parameters.container.registry, parameters.container.image) }} + + ${{ insert }}: ${{ parameters.jobParameters }} diff --git a/eng/pipelines/coreclr/ci.yml b/eng/pipelines/coreclr/ci.yml index f0c8b95e033a6d9a3ed0cba1cc25dd9f0f7368d2..6a618efb442a95a56c2966cfbc6831cfaf8a5ff0 100644 --- a/eng/pipelines/coreclr/ci.yml +++ b/eng/pipelines/coreclr/ci.yml @@ -32,9 +32,9 @@ jobs: # # Debug builds # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: debug platforms: - Linux_arm @@ -52,9 +52,9 @@ jobs: # # Checked builds # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platformGroup: all jobParameters: @@ -63,9 +63,9 @@ jobs: # # Release builds # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: release platforms: - Linux_arm @@ -79,9 +79,9 @@ jobs: # # Checked test builds # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-test-job.yml buildConfig: checked platforms: - Linux_arm @@ -97,9 +97,9 @@ jobs: # # Checked JIT test runs # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platformGroup: all helixQueueGroup: ci @@ -109,9 +109,9 @@ jobs: # # Checked R2R test runs # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platforms: - Linux_arm64 @@ -133,9 +133,9 @@ jobs: # # Crossgen-comparison jobs # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: crossgen-comparison-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/crossgen-comparison-job.yml buildConfig: release platforms: - Linux_arm @@ -144,9 +144,9 @@ jobs: # # Formatting # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: format-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/format-job.yml platforms: - Linux_x64 - Windows_NT_x64 diff --git a/eng/pipelines/coreclr/corefx-jitstress.yml b/eng/pipelines/coreclr/corefx-jitstress.yml index 0cb43fc8f404ca642fba73a6023a687ad10c1036..1e151efa40af8290ec601cf1e1dafe87417994ac 100644 --- a/eng/pipelines/coreclr/corefx-jitstress.yml +++ b/eng/pipelines/coreclr/corefx-jitstress.yml @@ -16,9 +16,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: # TODO: add Windows_NT_arm64, when we have hardware available, and .NET Core supports it. Note: platform-matrix.yml needs to enable a Helix queue for this. @@ -31,9 +31,9 @@ jobs: jobParameters: testGroup: jitstress -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platforms: # TODO: add Windows_NT_arm64, when we have hardware available, and .NET Core supports it. Note: platform-matrix.yml needs to enable a Helix queue for this. diff --git a/eng/pipelines/coreclr/corefx-jitstress2-jitstressregs.yml b/eng/pipelines/coreclr/corefx-jitstress2-jitstressregs.yml index 5cba6455afbc7a2770d4852a8ba7966b27c39ab7..e375e80ef2810e9fccd604c5fd802f3f0b20ffd5 100644 --- a/eng/pipelines/coreclr/corefx-jitstress2-jitstressregs.yml +++ b/eng/pipelines/coreclr/corefx-jitstress2-jitstressregs.yml @@ -16,9 +16,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: # TODO: add Windows_NT_arm64, when we have hardware available, and .NET Core supports it. Note: platform-matrix.yml needs to enable a Helix queue for this. @@ -31,9 +31,9 @@ jobs: jobParameters: testGroup: jitstress -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platforms: # TODO: add Windows_NT_arm64, when we have hardware available, and .NET Core supports it. Note: platform-matrix.yml needs to enable a Helix queue for this. diff --git a/eng/pipelines/coreclr/corefx-jitstressregs.yml b/eng/pipelines/coreclr/corefx-jitstressregs.yml index fc314b33b9824034a92b7824595d018dcf6dd4ee..96b37d0cf22decf25fe09937c179d146cd75ddb0 100644 --- a/eng/pipelines/coreclr/corefx-jitstressregs.yml +++ b/eng/pipelines/coreclr/corefx-jitstressregs.yml @@ -16,9 +16,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: # TODO: add Windows_NT_arm64, when we have hardware available, and .NET Core supports it. Note: platform-matrix.yml needs to enable a Helix queue for this. @@ -31,9 +31,9 @@ jobs: jobParameters: testGroup: jitstressregs -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platforms: # TODO: add Windows_NT_arm64, when we have hardware available, and .NET Core supports it. Note: platform-matrix.yml needs to enable a Helix queue for this. diff --git a/eng/pipelines/coreclr/corefx.yml b/eng/pipelines/coreclr/corefx.yml index 4ebff149f24480c8183f3aa8515a8e04c31d9412..66821e0b04b0510cf40f2e0fe81d08cdc28f1424 100644 --- a/eng/pipelines/coreclr/corefx.yml +++ b/eng/pipelines/coreclr/corefx.yml @@ -16,9 +16,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: # TODO: add Windows_NT_arm64, when we have hardware available, and .NET Core supports it. Note: platform-matrix.yml needs to enable a Helix queue for this. @@ -31,9 +31,9 @@ jobs: jobParameters: testGroup: outerloop -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platforms: # TODO: add Windows_NT_arm64, when we have hardware available, and .NET Core supports it. Note: platform-matrix.yml needs to enable a Helix queue for this. diff --git a/eng/pipelines/coreclr/crossgen2.yml b/eng/pipelines/coreclr/crossgen2.yml index 80daf80c66cc430be83054d592abf51307cc1153..ca3bfc230c3a6a5a838ef1de0bd516f6ce2ef0ac 100644 --- a/eng/pipelines/coreclr/crossgen2.yml +++ b/eng/pipelines/coreclr/crossgen2.yml @@ -8,9 +8,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: - Linux_x64 @@ -19,9 +19,9 @@ jobs: jobParameters: testGroup: innerloop -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-test-job.yml buildConfig: checked platforms: - OSX_x64 @@ -29,9 +29,9 @@ jobs: jobParameters: testGroup: innerloop -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platforms: - Linux_x64 diff --git a/eng/pipelines/coreclr/gc-longrunning.yml b/eng/pipelines/coreclr/gc-longrunning.yml index 9b45cf6b2230c4a3032e7d35a7382853af159480..c646cd84c9fc9c75d805b1e60ed52066fa996399 100644 --- a/eng/pipelines/coreclr/gc-longrunning.yml +++ b/eng/pipelines/coreclr/gc-longrunning.yml @@ -16,9 +16,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: release platforms: - Linux_x64 @@ -28,9 +28,9 @@ jobs: jobParameters: testGroup: gc-longrunning -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-test-job.yml buildConfig: release platforms: - Linux_x64 @@ -41,9 +41,9 @@ jobs: jobParameters: testGroup: gc-longrunning -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: release platforms: - Linux_x64 diff --git a/eng/pipelines/coreclr/gc-simulator.yml b/eng/pipelines/coreclr/gc-simulator.yml index f0e13b5a75621fcf80a110ca6f1da229a0d0cfe1..40935a80e701176ef97e0574dcbdcf1c56f54ca3 100644 --- a/eng/pipelines/coreclr/gc-simulator.yml +++ b/eng/pipelines/coreclr/gc-simulator.yml @@ -16,9 +16,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: release platforms: # disable Linux x64 for now untill OOMs are resolved. @@ -29,9 +29,9 @@ jobs: jobParameters: testGroup: gc-simulator -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/test-job.yml buildConfig: release platforms: # disable Linux x64 for now untill OOMs are resolved. diff --git a/eng/pipelines/coreclr/gcstress-extra.yml b/eng/pipelines/coreclr/gcstress-extra.yml index 31559cb976f9c031a60e16b4f0387bb150afc040..7fc1a92437336d5572a7019b1d063e34a6220cb4 100644 --- a/eng/pipelines/coreclr/gcstress-extra.yml +++ b/eng/pipelines/coreclr/gcstress-extra.yml @@ -16,18 +16,18 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platformGroup: gcstress managedOsxBuild: false jobParameters: testGroup: gcstress-extra -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/test-job.yml buildConfig: checked platformGroup: gcstress helixQueueGroup: ci diff --git a/eng/pipelines/coreclr/gcstress0x3-gcstress0xc.yml b/eng/pipelines/coreclr/gcstress0x3-gcstress0xc.yml index b3ef70cb3b12a2f58fa1098810e8b91b9a4003a4..9ef304df1c22ac45e3c757f9f582ef120c757e64 100644 --- a/eng/pipelines/coreclr/gcstress0x3-gcstress0xc.yml +++ b/eng/pipelines/coreclr/gcstress0x3-gcstress0xc.yml @@ -16,17 +16,17 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platformGroup: gcstress jobParameters: testGroup: gcstress0x3-gcstress0xc -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/test-job.yml buildConfig: checked platformGroup: gcstress helixQueueGroup: ci diff --git a/eng/pipelines/coreclr/internal.yml b/eng/pipelines/coreclr/internal.yml index f2a1d71de3ac99498478cfc468720a2cefa2241c..0f7d719b2634b7af19bf7b45594c403309680bc8 100644 --- a/eng/pipelines/coreclr/internal.yml +++ b/eng/pipelines/coreclr/internal.yml @@ -41,9 +41,9 @@ stages: # # Release builds # - - template: templates/platform-matrix.yml + - template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: release platformGroup: all stagedBuild: true @@ -91,9 +91,9 @@ stages: # # Release test builds # - - template: templates/platform-matrix.yml + - template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-test-job.yml buildConfig: release platforms: - Linux_arm @@ -112,9 +112,9 @@ stages: # # Release JIT test executions # - - template: templates/platform-matrix.yml + - template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: release platformGroup: all helixQueueGroup: all @@ -126,9 +126,9 @@ stages: # # Release R2R test executions # - - template: templates/platform-matrix.yml + - template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: release platformGroup: all helixQueueGroup: all diff --git a/eng/pipelines/coreclr/jitstress-isas-arm.yml b/eng/pipelines/coreclr/jitstress-isas-arm.yml index 757b27cb43df01600a1f5b338d2c5ab810db8ff9..ba6c1296a43e2b904e2c6d37aa3bdbd58b19bfd5 100644 --- a/eng/pipelines/coreclr/jitstress-isas-arm.yml +++ b/eng/pipelines/coreclr/jitstress-isas-arm.yml @@ -16,9 +16,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: - Linux_arm64 @@ -26,9 +26,9 @@ jobs: jobParameters: testGroup: jitstress-isas-arm -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/test-job.yml buildConfig: checked platforms: - Linux_arm64 diff --git a/eng/pipelines/coreclr/jitstress-isas-x86.yml b/eng/pipelines/coreclr/jitstress-isas-x86.yml index 49076eea5163d63492f4ac997fe3482570057dfe..aff4a943a2f1b70bb1ac4ef217f2982932becbbd 100644 --- a/eng/pipelines/coreclr/jitstress-isas-x86.yml +++ b/eng/pipelines/coreclr/jitstress-isas-x86.yml @@ -16,9 +16,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: - Linux_x64 @@ -28,9 +28,9 @@ jobs: jobParameters: testGroup: jitstress-isas-x86 -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-test-job.yml buildConfig: checked platforms: - OSX_x64 @@ -40,9 +40,9 @@ jobs: jobParameters: testGroup: jitstress-isas-x86 -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platforms: - Linux_x64 diff --git a/eng/pipelines/coreclr/jitstress.yml b/eng/pipelines/coreclr/jitstress.yml index e26daf95569dfd7cf89e255ac6c2dabc56b7ec4d..bfdd2b72af3319699416e8560cfc51cf7b946e07 100644 --- a/eng/pipelines/coreclr/jitstress.yml +++ b/eng/pipelines/coreclr/jitstress.yml @@ -16,17 +16,17 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platformGroup: all jobParameters: testGroup: jitstress -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/test-job.yml buildConfig: checked platformGroup: all helixQueueGroup: ci diff --git a/eng/pipelines/coreclr/jitstress2-jitstressregs.yml b/eng/pipelines/coreclr/jitstress2-jitstressregs.yml index d21a7f01e9b98679868a4974a0c90fc539a8d95c..629f4b50c8dc11bb925add051a5eb9035d4bdd5b 100644 --- a/eng/pipelines/coreclr/jitstress2-jitstressregs.yml +++ b/eng/pipelines/coreclr/jitstress2-jitstressregs.yml @@ -16,17 +16,17 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platformGroup: all jobParameters: testGroup: jitstress2-jitstressregs -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/test-job.yml buildConfig: checked platformGroup: all helixQueueGroup: ci diff --git a/eng/pipelines/coreclr/jitstressregs-x86.yml b/eng/pipelines/coreclr/jitstressregs-x86.yml index b7d8f8f63644d68319517fb3b74e0b4a293e9d6d..d4cba89344bb37f13d75510868372508d26fb0fe 100644 --- a/eng/pipelines/coreclr/jitstressregs-x86.yml +++ b/eng/pipelines/coreclr/jitstressregs-x86.yml @@ -16,9 +16,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: - Linux_x64 @@ -27,9 +27,9 @@ jobs: jobParameters: testGroup: jitstressregs-x86 -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/test-job.yml buildConfig: checked platforms: - Linux_x64 diff --git a/eng/pipelines/coreclr/jitstressregs.yml b/eng/pipelines/coreclr/jitstressregs.yml index 45fbc6ee56656c677c568b38bd59f96e74cb043f..d632096da267b5d0a2aa0f9dbbce9c541e73d0a3 100644 --- a/eng/pipelines/coreclr/jitstressregs.yml +++ b/eng/pipelines/coreclr/jitstressregs.yml @@ -16,26 +16,26 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platformGroup: all jobParameters: testGroup: jitstressregs -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-test-job.yml buildConfig: checked platformGroup: all helixQueueGroup: ci jobParameters: testGroup: jitstressregs -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platformGroup: all helixQueueGroup: ci diff --git a/eng/pipelines/coreclr/perf.yml b/eng/pipelines/coreclr/perf.yml index 37ac1eed90ec88fe92f9ccee1826234b5eac464b..6530eafd4d2669ada0eb0c41b6cfafc3548085b3 100644 --- a/eng/pipelines/coreclr/perf.yml +++ b/eng/pipelines/coreclr/perf.yml @@ -30,9 +30,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: release platforms: - Linux_x64 @@ -41,9 +41,9 @@ jobs: jobParameters: testGroup: perf -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: perf-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/perf-job.yml buildConfig: release platforms: - Linux_x64 diff --git a/eng/pipelines/coreclr/pr.yml b/eng/pipelines/coreclr/pr.yml index c4a7bb4fa7ee3195f542f279d331c5edcce4b2f2..f6c48ddd8fb2ba881c5851fe31761e5a7a2985be 100644 --- a/eng/pipelines/coreclr/pr.yml +++ b/eng/pipelines/coreclr/pr.yml @@ -32,9 +32,9 @@ jobs: # # Debug builds # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: debug platforms: - Windows_NT_x64 @@ -45,9 +45,9 @@ jobs: # # Checked builds # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: - Linux_arm @@ -65,9 +65,9 @@ jobs: # # Release builds # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: release platforms: - Linux_arm64 @@ -83,9 +83,9 @@ jobs: # # Checked test builds # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-test-job.yml buildConfig: checked platforms: - Linux_arm @@ -102,9 +102,9 @@ jobs: # # Checked JIT test executions # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platforms: - Linux_arm @@ -123,9 +123,9 @@ jobs: # # Checked R2R test executions # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platforms: - Linux_x64 @@ -141,9 +141,9 @@ jobs: # # CoreFX test runs against CoreCLR # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: checked platforms: - Linux_x64 @@ -158,9 +158,9 @@ jobs: # # Crossgen-comparison jobs # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: crossgen-comparison-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/crossgen-comparison-job.yml buildConfig: checked platforms: - Linux_arm @@ -169,9 +169,9 @@ jobs: # # Release test builds # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-test-job.yml buildConfig: release platforms: - OSX_x64 @@ -182,9 +182,9 @@ jobs: # # Release test builds # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: run-test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/run-test-job.yml buildConfig: release platforms: - Linux_musl_x64 @@ -195,9 +195,9 @@ jobs: # # Formatting # -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: format-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/format-job.yml platforms: - Linux_x64 - Windows_NT_x64 diff --git a/eng/pipelines/coreclr/r2r-extra.yml b/eng/pipelines/coreclr/r2r-extra.yml index 0cc7b12afd91e7398d2473bf120eeae25a5dd5ad..590f1645f9fbc537e6646f66c9f1f55512448336 100644 --- a/eng/pipelines/coreclr/r2r-extra.yml +++ b/eng/pipelines/coreclr/r2r-extra.yml @@ -16,17 +16,17 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platformGroup: gcstress jobParameters: testGroup: r2r-extra -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/test-job.yml buildConfig: checked platformGroup: gcstress # r2r-extra testGroup runs gcstress15 scenario helixQueueGroup: ci diff --git a/eng/pipelines/coreclr/r2r.yml b/eng/pipelines/coreclr/r2r.yml index 20aeaf567c567c8739012a658116f74387092f7d..e589738a4d32edd25db2424ae47b28f16fe63d41 100644 --- a/eng/pipelines/coreclr/r2r.yml +++ b/eng/pipelines/coreclr/r2r.yml @@ -8,9 +8,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: - Linux_arm @@ -21,9 +21,9 @@ jobs: jobParameters: testGroup: outerloop -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/test-job.yml buildConfig: checked platforms: - Linux_arm diff --git a/eng/pipelines/coreclr/runincontext.yml b/eng/pipelines/coreclr/runincontext.yml index 181729dbcacdb0ebce91a79c0f11ff49b3560e14..93f9c8f2838e943c6bbecb7cb196fc0cc005806f 100644 --- a/eng/pipelines/coreclr/runincontext.yml +++ b/eng/pipelines/coreclr/runincontext.yml @@ -16,9 +16,9 @@ jobs: # - template: templates/checkout-job.yml -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: build-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/build-job.yml buildConfig: checked platforms: - Linux_x64 @@ -27,9 +27,9 @@ jobs: jobParameters: testGroup: outerloop -- template: templates/platform-matrix.yml +- template: /eng/pipelines/common/platform-matrix.yml parameters: - jobTemplate: test-job.yml + jobTemplate: /eng/pipelines/coreclr/templates/test-job.yml buildConfig: checked platforms: - Linux_x64 diff --git a/eng/pipelines/coreclr/templates/build-job.yml b/eng/pipelines/coreclr/templates/build-job.yml index f3714ddf74ab60dd3f0500b58354f5ab17c9972b..8f3d746c384afa2d7f113a6198afd447763b9cc3 100644 --- a/eng/pipelines/coreclr/templates/build-job.yml +++ b/eng/pipelines/coreclr/templates/build-job.yml @@ -10,6 +10,7 @@ parameters: signBinaries: false publishToBlobFeed: false stagedBuild: false + variables: {} ### Product build jobs: @@ -90,6 +91,8 @@ jobs: - ${{ if and(eq(parameters.buildConfig, 'Release'), and(eq(parameters.osGroup, 'Windows_NT'), not(or(eq(parameters.archType, 'arm64'), eq(parameters.archType, 'arm'))))) }}: - name: enforcePgoArg value: '-enforcepgo' + + - ${{ parameters.variables }} steps: diff --git a/eng/pipelines/coreclr/templates/build-test-job.yml b/eng/pipelines/coreclr/templates/build-test-job.yml index b18c96ad7a82194cfafb0c43b466cd28489bd06d..c32ecbb1f1c4625baeea92d27fb1c59ff51d0f66 100644 --- a/eng/pipelines/coreclr/templates/build-test-job.yml +++ b/eng/pipelines/coreclr/templates/build-test-job.yml @@ -8,6 +8,7 @@ parameters: displayNameArgs: '' condition: true stagedBuild: false + variables: {} ### Build managed test components (native components are getting built as part ### of the the product build job). @@ -29,6 +30,7 @@ jobs: container: ${{ parameters.container }} testGroup: ${{ parameters.testGroup }} stagedBuild: ${{ parameters.stagedBuild }} + variables: ${{ parameters.variables }} # Test jobs should continue on error for internal builds ${{ if eq(variables['System.TeamProject'], 'internal') }}: diff --git a/eng/pipelines/coreclr/templates/crossgen-comparison-job.yml b/eng/pipelines/coreclr/templates/crossgen-comparison-job.yml index b764d2301c7b7ce511d184058bbc942e04f6cff4..c3803eb46f2d261e0f9132540a416009ee9a9587 100644 --- a/eng/pipelines/coreclr/templates/crossgen-comparison-job.yml +++ b/eng/pipelines/coreclr/templates/crossgen-comparison-job.yml @@ -7,6 +7,7 @@ parameters: helixQueues: '' crossrootfsDir: '' stagedBuild: false + variables: {} ### Crossgen-comparison job ### @@ -53,6 +54,8 @@ jobs: - name: productDirectory value: $(binDirectory)\coreclr + - ${{ parameters.variables }} + # Test job depends on the corresponding build job dependsOn: ${{ format('build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} diff --git a/eng/pipelines/coreclr/templates/format-job.yml b/eng/pipelines/coreclr/templates/format-job.yml index 3a78c28cfb8cca36ec643c425048606ff395bb31..92237414b06935674630d87aa193f9775d7594d3 100644 --- a/eng/pipelines/coreclr/templates/format-job.yml +++ b/eng/pipelines/coreclr/templates/format-job.yml @@ -7,6 +7,7 @@ parameters: crossrootfsDir: '' timeoutInMinutes: '' stagedBuild: false + variables: {} ### Format job jobs: @@ -23,6 +24,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' + variables: ${{ parameters.variables }} steps: - task: UseDotNet@2 # This should match what jitutils YML uses to build. diff --git a/eng/pipelines/coreclr/templates/perf-job.yml b/eng/pipelines/coreclr/templates/perf-job.yml index 2a19a90612d29fbef5c1ff0470a50bc111d3ffc3..199c0281a4d984145ceaa11aebbb561edbd80915 100644 --- a/eng/pipelines/coreclr/templates/perf-job.yml +++ b/eng/pipelines/coreclr/templates/perf-job.yml @@ -5,6 +5,7 @@ parameters: osSubgroup: '' container: '' framework: netcoreapp5.0 # Specify the appropriate framework when running release branches (ie netcoreapp3.0 for release/3.0) + variables: {} ### Perf job @@ -32,12 +33,13 @@ jobs: osSubgroup: ${{ parameters.osSubgroup }} # Test job depends on the corresponding build job dependsOn: ${{ format('build_{0}{1}_{2}_{3}', parameters.osGroup, parameters.osSubgroup, parameters.archType, parameters.buildConfig) }} - + ${{ if eq(parameters.osGroup, 'Windows_NT') }}: extraSetupParameters: -CoreRootDirectory $(Build.SourcesDirectory)\artifacts\tests\coreclr\${{ parameters.osGroup }}.${{ parameters.archType }}.Release\Tests\Core_Root -Architecture ${{ parameters.archType }} ${{ if ne(parameters.osGroup, 'Windows_NT') }}: extraSetupParameters: --corerootdirectory $(Build.SourcesDirectory)/artifacts/tests/coreclr/${{ parameters.osGroup }}.${{ parameters.archType }}.Release/Tests/Core_Root --architecture ${{ parameters.archType }} - + + variables: ${{ parameters.variables }} frameworks: - ${{ parameters.framework }} steps: diff --git a/eng/pipelines/coreclr/templates/platform-matrix.yml b/eng/pipelines/coreclr/templates/platform-matrix.yml deleted file mode 100644 index f022a0f9dcc1f2dbeab9387245f91de1322dd12b..0000000000000000000000000000000000000000 --- a/eng/pipelines/coreclr/templates/platform-matrix.yml +++ /dev/null @@ -1,296 +0,0 @@ -parameters: - jobTemplate: '' - buildConfig: '' - platforms: [] - # platformGroup is a named collection of platforms. Allowed values: - # 'all' - all platforms - # 'gcstress' - platforms that support running under GCStress0x3 and GCStress0xC scenarios - platformGroup: '' - # helixQueueGroup is a named collection of Helix Queues. If specified, it determines which Helix queues are - # used, instead of the usual criteria. Allowed values: - # 'pr' - the queues used for a pull request for the platform. Typically a small set. - # 'ci' - the queues used for a CI (post-merge) test run. - # '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' - stagedBuild: false - # When set to false, suppresses reuse of OSX managed build artifacts (for pipelines without an OSX obj) - managedOsxBuild: true - jobParameters: {} - -jobs: - -# Linux arm - -- ${{ if or(containsValue(parameters.platforms, 'Linux_arm'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: arm - osGroup: Linux - managedTestBuildOsGroup: Linux - container: - image: ubuntu-16.04-cross-14.04-23cacb0-20191023143847 - registry: mcr - 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 }} - -# Linux arm64 - -- ${{ if or(containsValue(parameters.platforms, 'Linux_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: arm64 - osGroup: Linux - managedTestBuildOsGroup: Linux - container: - image: ubuntu-16.04-cross-arm64-cfdd435-20191023143847 - registry: mcr - 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 }} - -# Linux musl x64 - -- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_x64'), eq(parameters.platformGroup, 'all')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: x64 - osGroup: Linux - osSubgroup: _musl - ${{ if ne(parameters.managedOsxBuild, true) }}: - managedTestBuildOsGroup: Linux - managedTestBuildOsSubgroup: _musl - ${{ if eq(parameters.managedOsxBuild, true) }}: - managedTestBuildOsGroup: OSX - container: - image: alpine-3.9-WithNode-0fc54a3-20190918214015 - registry: mcr - 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 - -- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm64'), eq(parameters.platformGroup, 'all')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: arm64 - osGroup: Linux - osSubgroup: _musl - managedTestBuildOsGroup: Linux - container: - image: ubuntu-16.04-cross-arm64-alpine-406629a-20191023143847 - registry: mcr - helixQueues: - - ${{ if eq(variables['System.TeamProject'], 'public') }}: - - (Alpine.38.Arm64.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-a45aeeb-20190620184035 - - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - - (Alpine.38.Arm64)Ubuntu.1804.ArmArch@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-a45aeeb-20190620184035 - crossrootfsDir: '/crossrootfs/arm64' - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux rhel6 x64 - -- ${{ if or(containsValue(parameters.platforms, 'Linux_rhel6_x64'), eq(parameters.platformGroup, 'all')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: x64 - osGroup: Linux - osSubgroup: _rhel6 - ${{ if ne(parameters.managedOsxBuild, true) }}: - managedTestBuildOsGroup: Linux_rhel - ${{ if eq(parameters.managedOsxBuild, true) }}: - managedTestBuildOsGroup: OSX - container: - image: centos-6-f39df28-20191023143802 - registry: mcr - helixQueues: - # TODO: enable RedHat.6.Amd64.Open once https://github.com/dotnet/coreclr/issues/23580 is resolved - - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - - RedHat.6.Amd64 - ${{ insert }}: ${{ parameters.jobParameters }} - -# Linux x64 - -- ${{ if or(containsValue(parameters.platforms, 'Linux_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: x64 - osGroup: Linux - ${{ if ne(parameters.managedOsxBuild, true) }}: - managedTestBuildOsGroup: Linux - ${{ if eq(parameters.managedOsxBuild, true) }}: - managedTestBuildOsGroup: OSX - container: - image: centos-7-f39df28-20191023143754 - registry: mcr - 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 - -# FreeBSD machines are currenrly offline. Re-enable in the official build when -# the machines are healthy. - -# - template: ${{ parameters.jobTemplate }} -# parameters: -# buildConfig: ${{ parameters.buildConfig }} -# archType: x64 -# osGroup: FreeBSD -# # There are no FreeBSD helix queues, so we don't run tests at the moment. -# helixQueues: -# asString: '' -# asArray: [] -# ${{ insert }}: ${{ parameters.jobParameters }} - -# macOS x64 - -- ${{ if or(containsValue(parameters.platforms, 'OSX_x64'), eq(parameters.platformGroup, 'all')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: x64 - osGroup: OSX - 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 - -- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: x64 - osGroup: Windows_NT - 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')) }}: - # TODO: add Windows.10.Nano.Amd64.Open once https://github.com/dotnet/coreclr/issues/21693 has been resolved - - 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.1803.Amd64)windows.10.amd64.serverrs4@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1803-helix-amd64-05227e1-20190509225944 - ${{ insert }}: ${{ parameters.jobParameters }} - -# Windows x86 - -- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_x86'), in(parameters.platformGroup, 'all', 'gcstress')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: x86 - osGroup: Windows_NT - 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 - -- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_arm'), eq(parameters.platformGroup, 'all')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: arm - osGroup: Windows_NT - 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 - -- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_arm64'), eq(parameters.platformGroup, 'all')) }}: - - template: ${{ parameters.jobTemplate }} - parameters: - stagedBuild: ${{ parameters.stagedBuild }} - buildConfig: ${{ parameters.buildConfig }} - archType: arm64 - osGroup: Windows_NT - 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 }} diff --git a/eng/pipelines/coreclr/templates/run-test-job.yml b/eng/pipelines/coreclr/templates/run-test-job.yml index 2123c7d082ec8b894a2e3f427c4721b817cbb4df..06a8d095baea5ff77d778b7a98539426250e26eb 100644 --- a/eng/pipelines/coreclr/templates/run-test-job.yml +++ b/eng/pipelines/coreclr/templates/run-test-job.yml @@ -16,6 +16,7 @@ parameters: stagedBuild: false displayNameArgs: '' runInUnloadableContext: false + variables: {} ### Test run job @@ -85,6 +86,8 @@ jobs: - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - group: DotNet-HelixApi-Access + + - ${{ parameters.variables }} # TODO: update these numbers as they were determined long ago ${{ if eq(parameters.testGroup, 'innerloop') }}: diff --git a/eng/pipelines/coreclr/templates/test-job.yml b/eng/pipelines/coreclr/templates/test-job.yml index f10cc074812941371c1c2a5040fb4bebdb9c1a08..7577d7a43645b81e55168736a08f8da646fb7204 100644 --- a/eng/pipelines/coreclr/templates/test-job.yml +++ b/eng/pipelines/coreclr/templates/test-job.yml @@ -16,6 +16,7 @@ parameters: runInUnloadableContext: false condition: true stagedBuild: false + variables: {} ### Test job @@ -24,7 +25,7 @@ parameters: jobs: - ${{ if and(ne(parameters.corefxTests, true), eq(parameters.osSubgroup, parameters.managedTestBuildOsSubgroup), eq(parameters.osGroup, parameters.managedTestBuildOsGroup)) }}: - - template: build-test-job.yml + - template: /eng/pipelines/coreclr/templates/build-test-job.yml parameters: buildConfig: ${{ parameters.buildConfig }} archType: ${{ parameters.archType }} @@ -35,8 +36,9 @@ jobs: displayNameArgs: ${{ parameters.displayNameArgs }} condition: ${{ parameters.condition }} stagedBuild: ${{ parameters.stagedBuild }} + variables: ${{ parameters.variables }} -- template: run-test-job.yml +- template: /eng/pipelines/coreclr/templates/run-test-job.yml parameters: buildConfig: ${{ parameters.buildConfig }} archType: ${{ parameters.archType }} @@ -53,3 +55,4 @@ jobs: displayNameArgs: ${{ parameters.displayNameArgs }} stagedBuild: ${{ parameters.stagedBuild }} runInUnloadableContext: ${{ parameters.runInUnloadableContext }} + variables: ${{ parameters.variables }} diff --git a/eng/pipelines/coreclr/templates/xplat-job.yml b/eng/pipelines/coreclr/templates/xplat-job.yml index 77541e161fa928a69dd5e3ec8b76c93e16e254d6..2ded9695527380fa9577b8d0602055029b15a200 100644 --- a/eng/pipelines/coreclr/templates/xplat-job.yml +++ b/eng/pipelines/coreclr/templates/xplat-job.yml @@ -27,7 +27,7 @@ jobs: name: ${{ parameters.name }} displayName: ${{ parameters.displayName }} - + container: ${{ parameters.container }} condition: ${{ parameters.condition }} dependsOn: - ${{ if ne(parameters.stagedBuild, true) }}: @@ -88,12 +88,6 @@ jobs: workspace: clean: all - ${{ if ne(parameters.container, '') }}: - ${{ if eq(parameters.container.registry, 'mcr') }}: - container: ${{ format('{0}:{1}', 'mcr.microsoft.com/dotnet-buildtools/prereqs', parameters.container.image) }} - ${{ if ne(parameters.container.registry, 'mcr') }}: - container: ${{ format('{0}:{1}', parameters.container.registry, parameters.container.image) }} - ${{ if eq(parameters.osGroup, 'Linux') }}: agentOs: Ubuntu ${{ if eq(parameters.osGroup, 'FreeBSD') }}: @@ -151,9 +145,6 @@ jobs: value: 'cross' - name: crossPackagesArg value: '-__DoCrossArchBuild=1' - # This is only required for cross builds. - - name: ROOTFS_DIR - value: ${{ parameters.crossrootfsDir }} - ${{ if eq(parameters.crossrootfsDir, '') }}: - name: crossArg value: '' diff --git a/eng/pipelines/coreclr/templates/xplat-pipeline-job.yml b/eng/pipelines/coreclr/templates/xplat-pipeline-job.yml index 7c2f4e3efa9fabf02e93e1a815a122c17dd5d763..5b5b60f4b018646caa564c98a7fcac3b9ce9e4a7 100644 --- a/eng/pipelines/coreclr/templates/xplat-pipeline-job.yml +++ b/eng/pipelines/coreclr/templates/xplat-pipeline-job.yml @@ -57,30 +57,6 @@ jobs: - name: testArtifactRootName value: ${{ parameters.managedTestBuildOsGroup }}${{ parameters.managedTestBuildOsSubgroup }}_${{ parameters.archType }}_${{ parameters.buildConfig }} - - ${{ if eq(parameters.osGroup, 'Windows_NT') }}: - - name: archiveExtension - value: '.zip' - - name: archiveType - value: zip - - name: tarCompression - value: '' - - name: scriptExt - value: '.cmd' - - name: dir - value: '\' - - - ${{ if ne(parameters.osGroup, 'Windows_NT') }}: - - name: archiveExtension - value: '.tar.gz' - - name: archiveType - value: tar - - name: tarCompression - value: gz - - name: scriptExt - value: '.sh' - - name: dir - value: '/' - - name: coreClrRepoRoot value: '$(Build.SourcesDirectory)/src/coreclr' diff --git a/eng/pipelines/installer/azure-pipelines.yml b/eng/pipelines/installer/azure-pipelines.yml index 64f16ec47bb98f77bddcf414308baa9636b88f77..8efcaf87fd8b296d8c4135e9ee24d18cb2c0cd22 100644 --- a/eng/pipelines/installer/azure-pipelines.yml +++ b/eng/pipelines/installer/azure-pipelines.yml @@ -12,6 +12,7 @@ trigger: - src/libraries/* - eng/pipelines/coreclr/* - eng/pipelines/libraries/* + - eng/pipelines/common/* - docs/* - README.md - CONTRIBUTING.md diff --git a/eng/pipelines/libraries/.azure-ci.yml b/eng/pipelines/libraries/.azure-ci.yml index 8a879d9fdf9d8a6160aac1ea0dd0346e2a6ba421..2c59ab0bb4db41155fe719841d1d841c130d5d4c 100644 --- a/eng/pipelines/libraries/.azure-ci.yml +++ b/eng/pipelines/libraries/.azure-ci.yml @@ -22,6 +22,7 @@ trigger: - src/coreclr/* - eng/pipelines/coreclr/* - eng/pipelines/installer/* + - eng/pipelines/common/* pr: branches: