Bug 1365763 - Make all spidermonkey tasks depend on more file changes. r?sfink
I've been bitten by spidermonkey tasks not running on automation enough.
Anything that can have an influence on spidermonkey builds should
trigger them to build, not only js/ changes.
As it turns out, the sm-package task has a more complete list of things
spidermonkey depends on, so we just use that same list for all tasks.
--- a/taskcluster/ci/spidermonkey/kind.yml
+++ b/taskcluster/ci/spidermonkey/kind.yml
@@ -22,55 +22,53 @@ job-defaults:
max-run-time: 36000
docker-image: {in-tree: desktop-build}
run:
using: spidermonkey
when:
files-changed:
# any when.files-changed specified below in a job will be
# appended to this list
+ - build/**
+ - config/**
+ - configure.py
+ - dom/bindings/**
+ - intl/icu/**
+ - js/moz.configure
- js/public/**
- js/src/**
+ - layout/tools/reftest/reftest/**
+ - Makefile.in
+ - media/webrtc/trunk/tools/gyp/**
+ - memory/**
+ - mfbt/**
+ - modules/fdlibm/**
+ - modules/zlib/src/**
+ - mozglue/**
+ - moz.build
+ - moz.configure
+ - nsprpub/**
+ - python/**
+ - taskcluster/moz.build
- taskcluster/ci/spidermonkey/kind.yml
+ - testing/mozbase/**
+ - test.mozbuild
+ - toolkit/mozapps/installer/package-name.mk
+ - toolkit/mozapps/installer/upload-files.mk
jobs:
sm-package/opt:
description: "Spidermonkey source package and test"
index:
job-name: sm-package-opt
treeherder:
symbol: SM-tc(pkg)
run:
using: spidermonkey-package
spidermonkey-variant: plain
- when:
- files-changed:
- - build/**
- - config/**
- - configure.py
- - dom/bindings/**
- - intl/icu/**
- - js/moz.configure
- - layout/tools/reftest/reftest/**
- - Makefile.in
- - media/webrtc/trunk/tools/gyp/**
- - memory/**
- - mfbt/**
- - modules/fdlibm/**
- - modules/zlib/src/**
- - mozglue/**
- - moz.build
- - moz.configure
- - nsprpub/**
- - python/**
- - taskcluster/moz.build
- - testing/mozbase/**
- - test.mozbuild
- - toolkit/mozapps/installer/package-name.mk
- - toolkit/mozapps/installer/upload-files.mk
sm-mozjs-sys/debug:
description: "Build js/src as the mozjs_sys Rust crate"
index:
job-name: sm-mozjs-sys-debug
treeherder:
platform: linux64/debug
symbol: SM-tc(mozjs-crate)