summaryrefslogtreecommitdiff
path: root/eng
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2019-06-13 16:33:42 -0700
committerGitHub <noreply@github.com>2019-06-13 16:33:42 -0700
commit0bbdbfcdebc6771f88896d59a22386fc5a18b7dd (patch)
tree9ef9e557032d62d11edf9ec0bca8f35100e45bb3 /eng
parente73c8e6c4a98b7ef6335afa31052bed7313fd816 (diff)
downloadcoreclr-0bbdbfcdebc6771f88896d59a22386fc5a18b7dd.tar.gz
coreclr-0bbdbfcdebc6771f88896d59a22386fc5a18b7dd.tar.bz2
coreclr-0bbdbfcdebc6771f88896d59a22386fc5a18b7dd.zip
Add platformGroup parameter to platform-matrix.yml (#25111)
Diffstat (limited to 'eng')
-rw-r--r--eng/platform-matrix.yml426
1 files changed, 209 insertions, 217 deletions
diff --git a/eng/platform-matrix.yml b/eng/platform-matrix.yml
index b8861caa6f..632d44498b 100644
--- a/eng/platform-matrix.yml
+++ b/eng/platform-matrix.yml
@@ -1,18 +1,11 @@
parameters:
jobTemplate: ''
buildConfig: ''
- platforms:
- - Linux_arm
- - Linux_arm64
- - Linux_musl_x64
- - Linux_musl_arm64
- - Linux_rhel6_x64
- - Linux_x64
- - OSX_x64
- - Windows_NT_x64
- - Windows_NT_x86
- - Windows_NT_arm
- - Windows_NT_arm64
+ platforms: []
+ # platformGroup is a named collection of platforms. Allowed values:
+ # 'all' - all platforms
+ # 'gcstress' - platforms that support running under GCStress0x3 and GCStress0xC scenarios
+ platformGroup: ''
jobParameters: {}
jobs:
@@ -20,130 +13,129 @@ jobs:
# TODO: simplify osIdentifier by adding osGroup and osSubGroup. See
# https://github.com/Microsoft/azure-pipelines-yaml/pull/46 for more information
-- ${{ each platform in parameters.platforms }}:
- # Linux arm
+# Linux arm
- - ${{ if eq(platform, 'Linux_arm') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: arm
- osGroup: Linux
- osIdentifier: Linux
- containerName: ubuntu_1404_arm_cross_build_image
- helixQueues:
- # Ubuntu.1404.Arm32.Open is used only by CI while Ubuntu.1604.Arm32.Open serves PRs and scheduled builds.
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}:
- - Ubuntu.1404.Arm32.Open
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}:
- - (Ubuntu.1804.Arm32.Open)Ubuntu.1604.Arm32.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-0a0ebdd-20190312215532
- - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- - (Debian.9.Arm32)Ubuntu.1604.Arm32@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm32v7-0a0ebdd-20190312215452
- - (Ubuntu.1604.Arm32)Ubuntu.1604.Arm32@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm32v7-0a0ebdd-20190312215551
- - (Ubuntu.1804.Arm32)Ubuntu.1604.Arm32@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-0a0ebdd-20190312215532
- crossrootfsDir: '/crossrootfs/arm'
- ${{ insert }}: ${{ parameters.jobParameters }}
+- ${{ if or(containsValue(parameters.platforms, 'Linux_arm'), in(parameters.platformGroup, 'all', 'gcstress')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: arm
+ osGroup: Linux
+ osIdentifier: Linux
+ containerName: ubuntu_1404_arm_cross_build_image
+ helixQueues:
+ # Ubuntu.1404.Arm32.Open is used only by CI while Ubuntu.1604.Arm32.Open serves PRs and scheduled builds.
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}:
+ - Ubuntu.1404.Arm32.Open
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}:
+ - (Ubuntu.1804.Arm32.Open)Ubuntu.1604.Arm32.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-0a0ebdd-20190312215532
+ - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
+ - (Debian.9.Arm32)Ubuntu.1604.Arm32@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm32v7-0a0ebdd-20190312215452
+ - (Ubuntu.1604.Arm32)Ubuntu.1604.Arm32@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm32v7-0a0ebdd-20190312215551
+ - (Ubuntu.1804.Arm32)Ubuntu.1604.Arm32@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-0a0ebdd-20190312215532
+ crossrootfsDir: '/crossrootfs/arm'
+ ${{ insert }}: ${{ parameters.jobParameters }}
- # Linux arm64
+# Linux arm64
- - ${{ if eq(platform, 'Linux_arm64') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: arm64
- osGroup: Linux
- osIdentifier: Linux
- containerName: ubuntu_1604_arm64_cross_build_image
- helixQueues:
- - ${{ if eq(variables['System.TeamProject'], 'public') }}:
- - (Ubuntu.1804.Arm64.Open)Ubuntu.1604.Arm64.Docker.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-0a0ebdd-20190312220351
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
- - (Debian.9.Arm64.Open)Ubuntu.1604.Arm64.Docker.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-0a0ebdd-20190312215438
- - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- - (Debian.9.Arm64)Ubuntu.1604.Arm64.Docker@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-0a0ebdd-20190312215438
- - (Ubuntu.1804.Arm64)Ubuntu.1604.Arm64.Docker@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-0a0ebdd-20190312220351
- crossrootfsDir: '/crossrootfs/arm64'
- ${{ insert }}: ${{ parameters.jobParameters }}
+- ${{ if or(containsValue(parameters.platforms, 'Linux_arm64'), in(parameters.platformGroup, 'all', 'gcstress')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: arm64
+ osGroup: Linux
+ osIdentifier: Linux
+ containerName: ubuntu_1604_arm64_cross_build_image
+ helixQueues:
+ - ${{ if eq(variables['System.TeamProject'], 'public') }}:
+ - (Ubuntu.1804.Arm64.Open)Ubuntu.1604.Arm64.Docker.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-0a0ebdd-20190312220351
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
+ - (Debian.9.Arm64.Open)Ubuntu.1604.Arm64.Docker.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-0a0ebdd-20190312215438
+ - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
+ - (Debian.9.Arm64)Ubuntu.1604.Arm64.Docker@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-0a0ebdd-20190312215438
+ - (Ubuntu.1804.Arm64)Ubuntu.1604.Arm64.Docker@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-0a0ebdd-20190312220351
+ crossrootfsDir: '/crossrootfs/arm64'
+ ${{ insert }}: ${{ parameters.jobParameters }}
- # Linux musl x64
+# Linux musl x64
- - ${{ if eq(platform, 'Linux_musl_x64') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: x64
- osGroup: Linux
- osIdentifier: Linux_musl
- containerName: musl_x64_build_image
- helixQueues:
- - ${{ if eq(variables['System.TeamProject'], 'public') }}:
- - (Alpine.38.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-45b1fa2-20190327215821
- - ${{ 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
- ${{ insert }}: ${{ parameters.jobParameters }}
+- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_x64'), eq(parameters.platformGroup, 'all')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: x64
+ osGroup: Linux
+ osIdentifier: Linux_musl
+ containerName: musl_x64_build_image
+ helixQueues:
+ - ${{ if eq(variables['System.TeamProject'], 'public') }}:
+ - (Alpine.38.Amd64.Open)Ubuntu.1604.Amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-45b1fa2-20190327215821
+ - ${{ 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
+ ${{ insert }}: ${{ parameters.jobParameters }}
- # Linux musl arm64
+# Linux musl arm64
- - ${{ if eq(platform, 'Linux_musl_arm64') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: arm64
- osGroup: Linux
- osIdentifier: Linux_musl
- containerName: musl_arm64_build_image
- 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-46e69dd-20190313223330
- - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- - (Alpine.38.Arm64)Ubuntu.1604.Arm64.Docker@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-46e69dd-20190313223330
- crossrootfsDir: '/crossrootfs/arm64'
- ${{ insert }}: ${{ parameters.jobParameters }}
+- ${{ if or(containsValue(parameters.platforms, 'Linux_musl_arm64'), eq(parameters.platformGroup, 'all')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: arm64
+ osGroup: Linux
+ osIdentifier: Linux_musl
+ containerName: musl_arm64_build_image
+ 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-46e69dd-20190313223330
+ - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
+ - (Alpine.38.Arm64)Ubuntu.1604.Arm64.Docker@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-46e69dd-20190313223330
+ crossrootfsDir: '/crossrootfs/arm64'
+ ${{ insert }}: ${{ parameters.jobParameters }}
- # Linux rhel6 x64
+# Linux rhel6 x64
- - ${{ if eq(platform, 'Linux_rhel6_x64') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: x64
- osGroup: Linux
- osIdentifier: Linux_rhel6
- containerName: centos6_x64_build_image
- 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 }}
+- ${{ if or(containsValue(parameters.platforms, 'Linux_rhel6_x64'), eq(parameters.platformGroup, 'all')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: x64
+ osGroup: Linux
+ osIdentifier: Linux_rhel6
+ containerName: centos6_x64_build_image
+ 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
+# Linux x64
- - ${{ if eq(platform, 'Linux_x64') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: x64
- osGroup: Linux
- osIdentifier: Linux
- containerName: centos7_x64_build_image
- helixQueues:
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
- - Ubuntu.1804.Amd64.Open
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
- - 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-45b1fa2-20190327215722
- - RedHat.7.Amd64
- ${{ insert }}: ${{ parameters.jobParameters }}
+- ${{ if or(containsValue(parameters.platforms, 'Linux_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: x64
+ osGroup: Linux
+ osIdentifier: Linux
+ containerName: centos7_x64_build_image
+ helixQueues:
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
+ - Ubuntu.1804.Amd64.Open
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
+ - 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-45b1fa2-20190327215722
+ - RedHat.7.Amd64
+ ${{ insert }}: ${{ parameters.jobParameters }}
# FreeBSD
@@ -162,104 +154,104 @@ jobs:
# asArray: []
# ${{ insert }}: ${{ parameters.jobParameters }}
- # macOS x64
+# macOS x64
- - ${{ if eq(platform, 'OSX_x64') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: x64
- osGroup: OSX
- osIdentifier: OSX
- helixQueues:
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
- - OSX.1013.Amd64.Open
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
- - OSX.1012.Amd64.Open
- - OSX.1013.Amd64.Open
- - OSX.1014.Amd64.Open
- - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- - OSX.1012.Amd64
- - OSX.1013.Amd64
- - OSX.1014.Amd64
- ${{ insert }}: ${{ parameters.jobParameters }}
+- ${{ if or(containsValue(parameters.platforms, 'OSX_x64'), eq(parameters.platformGroup, 'all')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: x64
+ osGroup: OSX
+ osIdentifier: OSX
+ helixQueues:
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
+ - OSX.1013.Amd64.Open
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
+ - OSX.1012.Amd64.Open
+ - OSX.1013.Amd64.Open
+ - OSX.1014.Amd64.Open
+ - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
+ - OSX.1012.Amd64
+ - OSX.1013.Amd64
+ - OSX.1014.Amd64
+ ${{ insert }}: ${{ parameters.jobParameters }}
- # Windows x64
+# Windows x64
- - ${{ if eq(platform, 'Windows_NT_x64') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: x64
- osGroup: Windows_NT
- osIdentifier: Windows_NT
- helixQueues:
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
- - Windows.10.Amd64.Open
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
- # 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 }}
+- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_x64'), in(parameters.platformGroup, 'all', 'gcstress')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: x64
+ osGroup: Windows_NT
+ osIdentifier: Windows_NT
+ helixQueues:
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
+ - Windows.10.Amd64.Open
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
+ # 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
+# Windows x86
- - ${{ if eq(platform, 'Windows_NT_x86') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: x86
- osGroup: Windows_NT
- osIdentifier: Windows_NT
- helixQueues:
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
- - Windows.10.Amd64.Open
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
- - 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 }}
+- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_x86'), in(parameters.platformGroup, 'all', 'gcstress')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: x86
+ osGroup: Windows_NT
+ osIdentifier: Windows_NT
+ helixQueues:
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
+ - Windows.10.Amd64.Open
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
+ - 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
+# Windows arm
- - ${{ if eq(platform, 'Windows_NT_arm') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: arm
- osGroup: Windows_NT
- osIdentifier: Windows_NT
- helixQueues:
- # TODO: Due to the limited capacity of the machines in Windows.10.Arm64.Open queue limit this to CI builds and only to Windows_NT/arm
- - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}:
- - Windows.10.Arm64.Open
- - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- - Windows.10.Arm64
- ${{ insert }}: ${{ parameters.jobParameters }}
+- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_arm'), eq(parameters.platformGroup, 'all')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: arm
+ osGroup: Windows_NT
+ osIdentifier: Windows_NT
+ helixQueues:
+ # TODO: Due to the limited capacity of the machines in Windows.10.Arm64.Open queue limit this to CI builds and only to Windows_NT/arm
+ - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}:
+ - Windows.10.Arm64.Open
+ - ${{ if eq(variables['System.TeamProject'], 'internal') }}:
+ - Windows.10.Arm64
+ ${{ insert }}: ${{ parameters.jobParameters }}
- # Windows arm64
+# Windows arm64
- - ${{ if eq(platform, 'Windows_NT_arm64') }}:
- - template: ${{ parameters.jobTemplate }}
- parameters:
- buildConfig: ${{ parameters.buildConfig }}
- archType: arm64
- osGroup: Windows_NT
- osIdentifier: 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 }}
+- ${{ if or(containsValue(parameters.platforms, 'Windows_NT_arm64'), eq(parameters.platformGroup, 'all')) }}:
+ - template: ${{ parameters.jobTemplate }}
+ parameters:
+ buildConfig: ${{ parameters.buildConfig }}
+ archType: arm64
+ osGroup: Windows_NT
+ osIdentifier: 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 }}