summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2018-07-13 11:02:48 -0700
committerGitHub <noreply@github.com>2018-07-13 11:02:48 -0700
commit454dcdad0b04980e1085acb1c16f386c4b450a60 (patch)
treee7f4ed42f043ab9367010978b9440802d8b3b49d /netci.groovy
parent552a24d2dbdb9f51f1aa7fe51302e07947bdb1cd (diff)
downloadcoreclr-454dcdad0b04980e1085acb1c16f386c4b450a60.tar.gz
coreclr-454dcdad0b04980e1085acb1c16f386c4b450a60.tar.bz2
coreclr-454dcdad0b04980e1085acb1c16f386c4b450a60.zip
Remove unnecessary R2R jobs (#18902)
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy25
1 files changed, 22 insertions, 3 deletions
diff --git a/netci.groovy b/netci.groovy
index 25120c9530..db99a2849d 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -2730,9 +2730,28 @@ def static shouldGenerateJob(def scenario, def isPR, def architecture, def confi
if (os != 'Windows_NT') {
return false
}
- // Stress scenarios only run with Checked builds, not Release (they would work with Debug, but be slow).
- if ((configuration != 'Checked') && isR2RStressScenario(scenario)) {
- return false
+
+ if (isR2RBaselineScenario(scenario)) {
+ // no need for Debug scenario; Checked is sufficient
+ if (configuration != 'Checked' && configuration != 'Release') {
+ return false
+ }
+ }
+ else if (isR2RStressScenario(scenario)) {
+ // Stress scenarios only run with Checked builds, not Release (they would work with Debug, but be slow).
+ if (configuration != 'Checked') {
+ return false
+ }
+ }
+
+ switch (architecture) {
+ case 'arm':
+ case 'arm64':
+ // Windows arm/arm64 ready-to-run jobs use flow jobs and test jobs, but depend on "normal" (not R2R specific) build jobs.
+ return false
+
+ default:
+ break
}
}
else {