From 02fe2fbf5a57bff0faa911935e191f2aa97de848 Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Tue, 9 Jun 2020 15:54:10 +0000 Subject: [PATCH] Bug 1643811 - [ci] Add a SCHEDULES rule to prevent 'android' builds and tests on pushes that exclusively modify files under /browser, r=gbrown,Gijs This rule states that if a push *only* modifies files under the /browser directory, then we'll only schedule tasks that: A) Use the 'skip-unless-schedules' optimization (this includes most builds and tests) B) Are tagged with at one of the 'linux', 'macosx' or 'windows' components This should be everything except Android builds and tests. Differential Revision: https://phabricator.services.mozilla.com/D78906 --- browser/moz.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/browser/moz.build b/browser/moz.build index cfbfea4f31f2..8cbf30a938ec 100644 --- a/browser/moz.build +++ b/browser/moz.build @@ -8,9 +8,6 @@ CONFIGURE_SUBST_FILES += ['installer/Makefile'] SPHINX_TREES['/browser'] = 'docs' -with Files('docs/**'): - SCHEDULES.exclusive = ['docs'] - EXTRA_COMPONENTS += [ 'l10n-registry.manifest', ] @@ -59,6 +56,10 @@ FINAL_TARGET_FILES.defaults += ['app/permissions'] with Files("**"): BUG_COMPONENT = ("Firefox", "General") + SCHEDULES.exclusive = ['linux', 'macosx', 'windows'] + +with Files('docs/**'): + SCHEDULES.exclusive = ['docs'] with Files("Makefile.in"): BUG_COMPONENT = ("Firefox Build System", "General")