summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2018-09-20 00:58:57 -0700
committerGitHub <noreply@github.com>2018-09-20 00:58:57 -0700
commit3ef621a7614e5a5a41917f040f4c03503f32af57 (patch)
tree628c0e198090d13b389e6e1d8f9a885b4db3c1c7 /netci.groovy
parent5f0726b5991c8113e7b62c8f4edc5c11c20787dc (diff)
parent7b6ba62db21de37a7154ee56fc117f949061c663 (diff)
downloadcoreclr-3ef621a7614e5a5a41917f040f4c03503f32af57.tar.gz
coreclr-3ef621a7614e5a5a41917f040f4c03503f32af57.tar.bz2
coreclr-3ef621a7614e5a5a41917f040f4c03503f32af57.zip
Merge pull request #20069 from dotnet/dev/unix_test_workflow
Refine Linux arm64 "limited hardware" designation
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy23
1 files changed, 13 insertions, 10 deletions
diff --git a/netci.groovy b/netci.groovy
index 4bc2f6837d..654fa9c789 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -47,7 +47,8 @@ def static getCrossArchitectures(def os, def architecture, def scenario) {
// 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/ARM64 testing). So only allow certain branches to use it.
+ // We have very limited Windows ARM64 hardware (used for ARM/ARM64 testing) and Linux/arm32 and Linux/arm64 hardware.
+ // So only allow certain branches to use it.
def static LimitedHardwareBranches = [
'master']
@@ -1224,14 +1225,8 @@ def static jobRequiresLimitedHardware(def architecture, def os) {
return true
}
else if (architecture == 'arm64') {
- if (os == 'Windows_NT') {
- // arm64 Windows hardware is limited.
- return true
- }
- else {
- // arm64 Linux hardware is fast enough to allow more frequent jobs
- return false
- }
+ // arm64 Windows and Linux hardware is limited.
+ return true
}
else {
return false
@@ -1572,7 +1567,15 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def
break
}
if (jobRequiresLimitedHardware(architecture, os)) {
- addPeriodicTriggerHelper(job, '@weekly')
+ if ((architecture == 'arm64') && (os == 'Ubuntu16.04') && !isCoreFxScenario(scenario)) {
+ // These jobs are very fast on Linux/arm64 hardware, so run them daily.
+ // TODO: When the corefx jobs are made to run in parallel, run those
+ // jobs daily as well.
+ addPeriodicTriggerHelper(job, '@daily')
+ }
+ else {
+ addPeriodicTriggerHelper(job, '@weekly')
+ }
}
else {
addPeriodicTriggerHelper(job, '@daily')