2019-02-01 06:18:39 +03:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2019-05-11 00:19:48 +03:00
|
|
|
---
|
2019-02-01 06:19:47 +03:00
|
|
|
job-defaults:
|
2019-02-01 06:18:39 +03:00
|
|
|
description: "rust repack"
|
2019-05-01 01:58:06 +03:00
|
|
|
worker-type: b-linux
|
2019-02-01 06:18:39 +03:00
|
|
|
worker:
|
|
|
|
max-run-time: 7200
|
|
|
|
run:
|
|
|
|
script: repack_rust.py
|
2019-02-01 06:19:47 +03:00
|
|
|
toolchain-artifact: public/build/rustc.tar.xz
|
|
|
|
|
2020-02-11 01:15:27 +03:00
|
|
|
linux64-rust-1.41:
|
|
|
|
treeherder:
|
2020-04-30 00:21:36 +03:00
|
|
|
symbol: TL(rust-1.41)
|
2020-02-11 01:15:27 +03:00
|
|
|
run:
|
|
|
|
arguments: [
|
2020-02-27 22:47:45 +03:00
|
|
|
'--channel', '1.41.1',
|
2020-02-11 01:15:27 +03:00
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'i686-unknown-linux-gnu',
|
|
|
|
'--target', 'aarch64-unknown-linux-gnu',
|
|
|
|
]
|
2020-04-30 00:21:36 +03:00
|
|
|
|
|
|
|
linux64-rust-1.43:
|
|
|
|
treeherder:
|
|
|
|
symbol: TL(rust)
|
|
|
|
run:
|
|
|
|
arguments: [
|
|
|
|
'--channel', '1.43.0',
|
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'i686-unknown-linux-gnu',
|
|
|
|
'--target', 'aarch64-unknown-linux-gnu',
|
|
|
|
]
|
2019-02-01 06:18:39 +03:00
|
|
|
toolchain-alias: linux64-rust
|
|
|
|
|
2019-11-19 18:27:13 +03:00
|
|
|
linux64-rust-nightly:
|
|
|
|
description: "rust nightly repack"
|
|
|
|
treeherder:
|
|
|
|
symbol: TL(rust-nightly)
|
|
|
|
run:
|
|
|
|
arguments: [
|
2020-04-30 00:21:36 +03:00
|
|
|
'--channel', 'nightly-2020-03-17',
|
2019-11-19 18:27:13 +03:00
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'i686-unknown-linux-gnu',
|
|
|
|
]
|
|
|
|
|
2020-02-11 01:15:27 +03:00
|
|
|
linux64-rust-cross-1.41:
|
2019-08-27 01:04:53 +03:00
|
|
|
description: "rust repack with macos and windows cross support"
|
|
|
|
treeherder:
|
2020-04-30 00:21:36 +03:00
|
|
|
symbol: TL(rust-cross-1.41)
|
2019-08-27 01:04:53 +03:00
|
|
|
run:
|
|
|
|
arguments: [
|
2020-02-27 22:47:45 +03:00
|
|
|
'--channel', '1.41.1',
|
2019-08-27 01:04:53 +03:00
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-apple-darwin',
|
|
|
|
'--target', 'x86_64-pc-windows-msvc',
|
|
|
|
'--target', 'i686-pc-windows-msvc',
|
|
|
|
'--target', 'aarch64-pc-windows-msvc',
|
|
|
|
]
|
2020-04-30 00:21:36 +03:00
|
|
|
|
|
|
|
linux64-rust-cross-1.43:
|
|
|
|
description: "rust repack with macos and windows cross support"
|
|
|
|
treeherder:
|
|
|
|
symbol: TL(rust-cross)
|
|
|
|
run:
|
|
|
|
arguments: [
|
|
|
|
'--channel', '1.43.0',
|
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-apple-darwin',
|
|
|
|
'--target', 'x86_64-pc-windows-msvc',
|
|
|
|
'--target', 'i686-pc-windows-msvc',
|
|
|
|
'--target', 'aarch64-pc-windows-msvc',
|
|
|
|
]
|
2020-03-12 23:50:41 +03:00
|
|
|
toolchain-alias: linux64-rust-cross
|
2019-08-27 01:04:53 +03:00
|
|
|
|
2020-02-11 01:15:27 +03:00
|
|
|
linux64-rust-macos-1.41:
|
2019-12-05 07:53:02 +03:00
|
|
|
description: "rust repack with macos-cross support"
|
|
|
|
treeherder:
|
2020-04-30 00:21:36 +03:00
|
|
|
symbol: TL(rust-macos-1.41)
|
2019-12-05 07:53:02 +03:00
|
|
|
run:
|
|
|
|
arguments: [
|
2020-02-27 22:47:45 +03:00
|
|
|
'--channel', '1.41.1',
|
2019-12-05 07:53:02 +03:00
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-apple-darwin',
|
|
|
|
]
|
2020-04-30 00:21:36 +03:00
|
|
|
|
|
|
|
linux64-rust-macos-1.43:
|
|
|
|
description: "rust repack with macos-cross support"
|
|
|
|
treeherder:
|
|
|
|
symbol: TL(rust-macos)
|
|
|
|
run:
|
|
|
|
arguments: [
|
|
|
|
'--channel', '1.43.0',
|
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-apple-darwin',
|
|
|
|
]
|
2019-02-01 06:18:39 +03:00
|
|
|
toolchain-alias: linux64-rust-macos
|
|
|
|
|
2020-04-30 00:21:36 +03:00
|
|
|
linux64-rust-android-1.43:
|
2019-12-05 07:53:02 +03:00
|
|
|
description: "rust repack with android-cross support"
|
|
|
|
treeherder:
|
|
|
|
symbol: TL(rust-android)
|
|
|
|
run:
|
|
|
|
arguments: [
|
2020-04-30 00:21:36 +03:00
|
|
|
'--channel', '1.43.0',
|
2019-12-05 07:53:02 +03:00
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'armv7-linux-androideabi',
|
|
|
|
'--target', 'thumbv7neon-linux-androideabi',
|
|
|
|
'--target', 'aarch64-linux-android',
|
|
|
|
'--target', 'i686-linux-android',
|
|
|
|
'--target', 'x86_64-linux-android',
|
|
|
|
]
|
2019-02-01 06:18:39 +03:00
|
|
|
toolchain-alias: linux64-rust-android
|
|
|
|
|
2020-04-30 00:21:36 +03:00
|
|
|
linux64-rust-windows-1.43:
|
2019-12-05 07:53:02 +03:00
|
|
|
description: "rust repack with windows-cross support"
|
|
|
|
treeherder:
|
|
|
|
symbol: TL(rust-win)
|
|
|
|
run:
|
|
|
|
arguments: [
|
2020-04-30 00:21:36 +03:00
|
|
|
'--channel', '1.43.0',
|
2019-12-05 07:53:02 +03:00
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'x86_64-pc-windows-msvc',
|
|
|
|
'--target', 'i686-pc-windows-msvc',
|
|
|
|
]
|
Bug 1534533 - Add geckodriver toolchain tasks. r=chmanchester
There was quite a bit of discussion of this in `#build` on IRC,
and the consensus was that geckodriver should be built as a
stand-alone Rust crate and not as part of Firefox/Gecko (say, as a new
--enable-project target). This follows that approach, and the
expression, modeled off of cbindgen but updated to cross compile from
a Linux host to all targets, is pretty straight-forward.
A sparse profile would be nice, but the way that the Gecko Cargo
workspace works means that the profile must accumulate Rust code from
many locations.
If we want to, eventually testing/geckodriver can be removed from the
top-level Rust workspace, the geckodriver-signing tasks migrated to
these toolchain tasks, consumers migrated to the signing tasks, and
geckodriver removed from the "common" test archive.
Differential Revision: https://phabricator.services.mozilla.com/D43646
--HG--
rename : taskcluster/scripts/misc/vs-setup.sh => taskcluster/scripts/misc/vs-setup32.sh
extra : moz-landing-system : lando
2019-08-28 23:54:06 +03:00
|
|
|
toolchain-alias: linux64-rust-windows
|
|
|
|
|
2020-02-11 01:15:27 +03:00
|
|
|
win64-rust-1.41:
|
2019-12-05 07:53:02 +03:00
|
|
|
treeherder:
|
2020-04-30 00:21:36 +03:00
|
|
|
symbol: TW64(rust-1.41)
|
2019-12-05 07:53:02 +03:00
|
|
|
run:
|
|
|
|
arguments: [
|
2020-02-27 22:47:45 +03:00
|
|
|
'--channel', '1.41.1',
|
2019-12-05 07:53:02 +03:00
|
|
|
'--host', 'x86_64-pc-windows-msvc',
|
|
|
|
'--target', 'x86_64-pc-windows-msvc',
|
|
|
|
'--target', 'i686-pc-windows-msvc',
|
|
|
|
'--target', 'aarch64-pc-windows-msvc',
|
|
|
|
]
|
2020-04-30 00:21:36 +03:00
|
|
|
|
|
|
|
win64-rust-1.43:
|
|
|
|
treeherder:
|
|
|
|
symbol: TW64(rust)
|
|
|
|
run:
|
|
|
|
arguments: [
|
|
|
|
'--channel', '1.43.0',
|
|
|
|
'--host', 'x86_64-pc-windows-msvc',
|
|
|
|
'--target', 'x86_64-pc-windows-msvc',
|
|
|
|
'--target', 'i686-pc-windows-msvc',
|
|
|
|
'--target', 'aarch64-pc-windows-msvc',
|
|
|
|
]
|
2019-02-01 06:18:39 +03:00
|
|
|
toolchain-alias: win64-rust
|
|
|
|
|
2020-02-11 01:15:27 +03:00
|
|
|
mingw32-rust-1.41:
|
2019-12-05 07:53:02 +03:00
|
|
|
treeherder:
|
2020-04-30 00:21:36 +03:00
|
|
|
symbol: TMW(rust-1.41)
|
2019-12-05 07:53:02 +03:00
|
|
|
run:
|
|
|
|
arguments: [
|
2020-02-27 22:47:45 +03:00
|
|
|
'--channel', '1.41.1',
|
2019-12-05 07:53:02 +03:00
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'i686-unknown-linux-gnu',
|
|
|
|
'--target', 'i686-pc-windows-gnu',
|
|
|
|
'--target', 'x86_64-pc-windows-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
]
|
2020-04-30 00:21:36 +03:00
|
|
|
|
|
|
|
mingw32-rust-1.43:
|
|
|
|
treeherder:
|
|
|
|
symbol: TMW(rust)
|
|
|
|
run:
|
|
|
|
arguments: [
|
|
|
|
'--channel', '1.43.0',
|
|
|
|
'--host', 'x86_64-unknown-linux-gnu',
|
|
|
|
'--target', 'i686-unknown-linux-gnu',
|
|
|
|
'--target', 'i686-pc-windows-gnu',
|
|
|
|
'--target', 'x86_64-pc-windows-gnu',
|
|
|
|
'--target', 'x86_64-unknown-linux-gnu',
|
|
|
|
]
|
2019-02-01 06:18:39 +03:00
|
|
|
toolchain-alias: mingw32-rust
|