From: Bruce Forstall Date: Fri, 13 Jul 2018 18:02:48 +0000 (-0700) Subject: Remove unnecessary R2R jobs (#18902) X-Git-Tag: accepted/tizen/unified/20190422.045933~1686 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=454dcdad0b04980e1085acb1c16f386c4b450a60;p=platform%2Fupstream%2Fcoreclr.git Remove unnecessary R2R jobs (#18902) --- diff --git a/netci.groovy b/netci.groovy index 25120c9..db99a28 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 {