summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorKyungwoo Lee <kyulee@microsoft.com>2016-06-29 08:20:10 -0700
committerKyungwoo Lee <kyulee@microsoft.com>2016-06-29 08:20:10 -0700
commit07e9b4dd6330f90198a7fe8ed4f4293291ce9f89 (patch)
tree739cabbc7ccb91fd53a6ff54b75455ede11d0d78 /netci.groovy
parent5bbd586e9aadde24f019f9f5b9f6c929c54a3a61 (diff)
downloadcoreclr-07e9b4dd6330f90198a7fe8ed4f4293291ce9f89.tar.gz
coreclr-07e9b4dd6330f90198a7fe8ed4f4293291ce9f89.tar.bz2
coreclr-07e9b4dd6330f90198a7fe8ed4f4293291ce9f89.zip
ARM64: Enable a gcstress private job
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy32
1 files changed, 23 insertions, 9 deletions
diff --git a/netci.groovy b/netci.groovy
index 15d4e34a64..b72c3948a5 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -506,7 +506,15 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
// GCStress=C is currently not supported on OS X
if (os != 'CentOS7.1' && os != 'OSX' && !(os in bidailyCrossList)) {
assert (os == 'Windows_NT') || (os in Constants.crossList)
- Utilities.addPeriodicTrigger(job, '@weekly')
+ if (architecture == 'arm64') {
+ assert (os == 'Windows_NT')
+ // TODO: Enable a periodic trigger after tests are updated.
+ // Utilities.addPeriodicTrigger(job, '@daily')
+ // addEmailPublisher(job, 'dotnetonarm64@microsoft.com')
+ }
+ else {
+ Utilities.addPeriodicTrigger(job, '@weekly')
+ }
}
break
default:
@@ -1060,7 +1068,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
}
break
case 'arm64':
- assert (scenario == 'default') || (scenario == 'pri1r2r')
+ assert (scenario == 'default') || (scenario == 'pri1r2r') || (scenario == 'gcstress0xc')
// Set up a private trigger
def contextString = "${os} ${architecture} Cross ${configuration}"
@@ -1081,6 +1089,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
"(?i).*test\\W+${os}\\W+${architecture}\\W+${configuration}", null, arm64Users)
break
case 'pri1r2r':
+ case 'gcstress0xc':
Utilities.addPrivateGithubPRTriggerForBranch(job, branch, contextString,
"(?i).*test\\W+${os}\\W+${architecture}\\W+${configuration}\\W+${scenario}", null, arm64Users)
break
@@ -1314,9 +1323,17 @@ combinedScenarios.each { scenario ->
return
}
- // No stress modes except on x64 right now (mainly because of bad test state on x86)
- if (architecture != 'x64') {
- return
+ switch (architecture) {
+ case 'arm64':
+ if (scenario != 'gcstress0xc') {
+ return
+ }
+ break
+ case 'x64':
+ // Everything implemented
+ break
+ default:
+ return
}
}
else {
@@ -1632,10 +1649,7 @@ combinedScenarios.each { scenario ->
break
case 'arm64':
- assert (scenario == 'default') || (scenario == 'pri1r2r')
-
- // Up the timeout for arm64 jobs.
- Utilities.setJobTimeout(newJob, 240);
+ assert (scenario == 'default') || (scenario == 'pri1r2r') || (scenario == 'gcstress0xc')
// Debug runs take too long to run. So build job only.
if (lowerConfiguration == "debug") {