diff options
author | Bruce Forstall <brucefo@microsoft.com> | 2017-12-06 09:13:25 -0800 |
---|---|---|
committer | Bruce Forstall <brucefo@microsoft.com> | 2017-12-06 09:13:25 -0800 |
commit | 0d19b66a9a43ae13f217ecd0d0d4baff8ea19804 (patch) | |
tree | 8e03c15f9de662912f65f5afd770546920ab93ac | |
parent | 4865f600df7270fbda7d36af34424343f10caa7f (diff) | |
download | coreclr-0d19b66a9a43ae13f217ecd0d0d4baff8ea19804.tar.gz coreclr-0d19b66a9a43ae13f217ecd0d0d4baff8ea19804.tar.bz2 coreclr-0d19b66a9a43ae13f217ecd0d0d4baff8ea19804.zip |
Limit Windows ARM64 non-PR testing to certain branches
-rwxr-xr-x | netci.groovy | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/netci.groovy b/netci.groovy index 453e33069e..73ee0f5a72 100755 --- a/netci.groovy +++ b/netci.groovy @@ -35,6 +35,10 @@ def static getOSGroup(def os) { // We use this class (vs variables) so that the static functions can access data here. class Constants { + // We have very limited ARM64 hardware (used for ARM/ARMLB/ARM64 testing). So only allow certain branches to use it. + def static WindowsArm64Branches = [ + 'master'] + // Innerloop build OS's // The Windows_NT_BuildOnly OS is a way to speed up the Non-NT builds temporarily by avoiding // test execution in the build flow runs. It generates the exact same build @@ -616,6 +620,15 @@ def static getJobName(def configuration, def architecture, def os, def scenario, def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def os, def configuration, def scenario, def isFlowJob, def isWindowsBuildOnlyJob, def bidailyCrossList) { + // Limited Windows ARM64 hardware is restricted for non-PR triggers to certain branches. + if (os == 'Windows_NT') { + if ((architecture == 'arm64') || (architecture == 'arm') || (architecture == 'armlb')) { + if (!(branch in Constants.WindowsArm64Branches)) { + return + } + } + } + // Check scenario. switch (scenario) { case 'default': |