Commit Graph
28 Commits
Author SHA1 Message Date
Ralph Giles 0207fcff0f Bug 1391427 - Package upstream rust in taskcluster. r=glandium
Add a toolchain job description which calls the
repack_rust.py script to package the requested
upstream build of Rust and its standard libraries
for use in gecko builds.

Links are added to these new toolchains for various build
and analysis tasks as appropriate. The base-toolchain
tasks use an explicitly-versioned toolchain since those
can be different from the current release used for most builds.

The corresponding tooltool manifest entries are removed
now that taskcluster artifact versions are available.
This simplifies the update process since new toolchains
can be packaged and used automatically by just updating
the versions in the task descriptions.

A 'linux64-rust' toolchain can be added to other tasks
as a dependency and artifact. It supports linux64-
hosted builds of Rust code targeting linux64 or linux32.

A 'linux64-rust-macos' toolchain targets linux64-hosted
builds of Rust code targeting macOS on x86_64.

A 'linux64-rust-android' toolchain targets linux64-hosted
builds of Rust code targeting various Android architectures.

Two 'win64-rust' and 'win32-rust' toolchain tasks create
similar entries for Windows-hosted builds. All our automation
builds are hosted on win64, so we could use one artifact
with support for both targets, but currently this doesn't
work because of cross-compilation issues in some crates.
This patch maintains the previous separation between
win32 and win64 rust toolchains until that can be addressed.

MozReview-Commit-ID: GRiJml8CtzO
2017-09-12 16:30:19 -07:00
Justin Wood 0d6a695215 Bug 1401546 - Flip windows spidermonkey jobs in taskcluster to tier 1. r=sfink
MozReview-Commit-ID: Ejcb0P5moju
2017-09-20 10:09:27 -04:00
Dustin J. Mitchell b129f522e9 Bug 1401180: rename 'toolchain' transform to 'use_toolchains'; r=glandium
MozReview-Commit-ID: 5vKM5dRBuZt
2017-09-14 20:12:59 +00:00
Nick Fitzgerald 6af810fd84 Bug 1277338 - Part 10: Add the SM-tc(rust) taskcluster task; r=sfink
This adds a new SpiderMonkey taskcluster test task that builds and tests the
js/rust crate.
2017-09-05 09:26:21 -07:00
Justin Wood fc991d301f Bug 1387199 - Do spidermonkey windows in taskgraph. r=dustin
Set these as tier 3 right now, because there are frequent intermittent test failures.

MozReview-Commit-ID: Gs6AXLKaVrF
2017-08-16 15:27:30 -04:00
Mike Hommey 492381d547 Bug 1388569 - Remove sccache dependencies on jobs that don't use it. r=gps
There are essentially four categories of jobs that have dependencies on
sccache currently and that shouldn't:
- jobs that don't compile anything. They just inherited the dependency
  because they were using the same tooltool manifests as compiling
  builds.
- jobs that don't use sccache. Ideally, we'd make them use sccache, but
  things are not currently setup to make that easy, so we'll keep that for
  later.
- jobs that explicitly disable sccache through needs-sccache: false.
  Like above, ideally, they would use sccache.
- jobs that can't use sccache. Those are hazard jobs, that rely on a GCC
  plugin and AIUI on a global knowledge of the code, which the plugin needs
  to see. Caching would break that.
2017-08-09 09:05:35 +09:00
Mike Hommey 25b379df98 Bug 1386589 - Remove the linux64 tooltool manifests that look the same as releng.manifest. r=gps 2017-08-04 06:07:43 +09:00
Mike Hommey 8a91c993bc Bug 1384422 - Use toolchain dependencies for clang. r=gps
This leaves out fuzzing and linux static analysis builds, which are
using, respectively, clang 4.0.1 and clang 3.8, while linux64-clang
produces a 3.9 and win*-clang a 5.0
2017-07-26 16:32:15 +09:00
Mike Hommey 94d8e72f00 Bug 1384418 - Use toolchain dependencies for gcc. r=gps 2017-07-26 15:27:09 +09:00
Mike Hommey e79ca64ba0 Bug 1384417 - Use toolchain dependencies for sccache. r=gps 2017-07-20 17:56:49 +09:00
Mike Hommey 6b76fa9e72 Bug 1374940 - Allow to define a list of toolchains to use for a given TC job. r=dustin
Such a definition automatically sets up the corresponding dependencies
in the taskgraph, and adds the necessary artifact definitions for use in
the corresponding jobs. The jobs end up with a MOZ_TOOLCHAINS
environment variable with a list of path@task-id strings, where task-id
is corresponding to the (possibly optimized) toolchain job, and path
corresponding to the toolchain-artifact defined for that toolchain job.
2017-06-21 15:38:21 +09:00
Gregory Szorc 1d25e0a897 Bug 1372721 - Collapse some run-on-projects values; r=dustin
I like when my code search yields relevant data with 1 line of context.

MozReview-Commit-ID: 8DPyJeyFMwR
2017-06-13 14:40:14 -07:00
Mike Hommey efa0ed2395 Bug 1356952 - Use environment variable to define tooltool manifest in spidermonkey builds. r=mshal
Like hazard jobs.
2017-06-06 16:55:28 +09:00
Dustin J. Mitchell f3f59ca1c7 Bug 1359976: base worker payload generation on worker-type; r=wcosta r=aki
To date we have variously specified both worker-type and worker-implementation,
often manually coordinated. We also embedded a few awkward assumptions such as
that the native engine only runs on OS X.

But a worker type has one and only one implementation, and that implementation
is stable over time (as changing it would require simultaneous landings on all
trees).

Instead, this change makes worker-type the primary configuration, and derives
both a worker implementation (defining the payload format) and worker OS
(determining what to include in the payload) from that value. The derivation
occurs when deciding how to implement a particular job, where the run_using
functions are distinguished by worker implementation.

The two-part logic to determine how and where to run a test task based on its
platform is combined into a single transform, `set_worker_type`.

This contains some other related changes:
 - MOZ_AUTOMATION is set in specific jobs, rather than everywhere docker-worker
   is used
 - the URL to test packages is factored out into a shared function
 - docker-worker test defaults are applied in `mozharness_test.py`
 - the WORKER_TYPE array in `task.py`, formerly mixing two types of keys, is
   split
 - the 'invalid' workerType is assigned an 'invalid' implementation
 - all tasks that do not use job descriptions but use docker-worker, etc. have
   `worker.os` added

Tested to not produce a substantially different taskgraph for a regular push, a
try push, or a nightly cron.

MozReview-Commit-ID: LDHrmrpBo7I
2017-05-08 22:53:50 +00:00
Steve Fink b53b242a00 Bug 1366522 - Drop SM(tsan) back to tier 3, r=philor 2017-05-20 14:27:58 -07:00
Mike Hommey 0c57553043 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.
2017-05-17 18:51:12 +09:00
Steve Fink 3b0a8fa620 Bug 1346016 - Add a build to test --enable-fuzzing, r=dustin
MozReview-Commit-ID: Ko4SsdafxAN
2017-03-01 14:43:19 -08:00
Dustin J. Mitchell 7b617b9156 Bug 1333255: rename taskgraph.task to taskgraph.loader; r=jonasfj
MozReview-Commit-ID: 6aPdGbxn0D1
2017-03-09 19:00:49 -05:00
Dustin J. Mitchell 37dca4a3be Bug 1333255: always transform tasks; r=jonasfj
MozReview-Commit-ID: 3A5wzXKG0Yp
2017-03-09 16:40:33 -05:00
Dustin J. Mitchell a0095736a7 Bug 1333255: use normal old functions to load tasks; r=jonasfj
Instead of using a class's static method, use a simple function, specified by
the `loader` key.

MozReview-Commit-ID: IeOl9qiSCXf
2017-03-09 23:14:40 -05:00
Wes Kocher 1f7f039c4f Bug 1329047 - Make sure arm-sim jobs are assigned the correct platform r=dustin
MozReview-Commit-ID: KmREmRtFHDQ
2017-01-05 16:42:26 -08:00
Mike Shal 8a8e178274 Bug 1279221 - Remove buildbot routes for Taskcluster tasks; r=dustin
MozReview-Commit-ID: A2YxsnWo9ek
2016-11-29 15:02:00 -05:00
Nick Fitzgerald 2a1f07b50c Bug 1277338 - Part 1: Turn js/src into the mozjs-sys crate; r=sfink 2016-10-13 16:12:42 -07:00
Phil Ringnalda d964fa65dd Merge m-i to m-c, a=merge 2016-09-30 23:24:52 -07:00
Steve Fink e695faeb33 Bug 1304775 - Run all tier-1 spidermonkey jobs with -p all try syntax, r=dustin 2016-09-22 15:10:58 -07:00
Mike Shal 292fcd319b Bug 1277881 - Remove all gecko.v1 routes; r=dustin
MozReview-Commit-ID: HyZO2sKFuJD
2016-09-20 18:09:00 -04:00
Steve Fink a2fbd9f2b2 Bug 1301122 - Add in more files to trigger the sm-package job, r=fitzgen
MozReview-Commit-ID: FP3vz9oAGaL
2016-09-14 14:50:24 -07:00
Dustin J. Mitchell a34ad8a0ad Bug 1286075: add a spidermonkey kind; r=sfink
MozReview-Commit-ID: 4uI8LxHrSOS
2016-09-12 18:04:24 +00:00