gecko-dev/taskcluster/ci/toolchain/misc.yml

345 lines
9.1 KiB
YAML

# 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/.
---
job-defaults:
worker-type: b-linux
worker:
max-run-time: 1800
linux64-infer:
description: "infer build"
index:
product: static-analysis
job-name: linux64-infer
treeherder:
symbol: TL(infer)
worker:
docker-image: {in-tree: static-analysis-build}
max-run-time: 3600
run:
script: build-infer-linux.sh
resources:
- 'build/build-infer/build-infer.py'
- 'build/build-infer/infer-linux64.json'
toolchain-artifact: public/build/infer.tar.xz
linux64-llvm-dsymutil:
description: "llvm-dsymutil toolchain build"
treeherder:
symbol: TL(dsymutil)
run:
script: build-llvm-dsymutil.sh
toolchain-artifact: public/build/llvm-dsymutil.tar.xz
fetches:
fetch:
- clang-11
toolchain:
- linux64-gcc-7
linux64-binutils:
description: "Binutils toolchain build"
treeherder:
symbol: TL(binutil)
worker:
# Because this is built with the system gcc, it is subject to
# https://bugs.debian.org/786883 and can't be built with a sysroot
docker-image: {in-tree: deb8-toolchain-build}
max-run-time: 3600
run:
script: build-binutils-linux.sh
resources:
- 'build/unix/build-binutils/build-binutils.sh'
toolchain-artifact: public/build/binutils.tar.xz
fetches:
fetch:
- binutils-2.31.1
linux64-hfsplus:
description: "hfsplus toolchain build"
treeherder:
symbol: TL(hfs+)
run:
script: build-hfsplus-linux.sh
resources:
- 'build/unix/build-hfsplus/build-hfsplus.sh'
toolchain-artifact: public/build/hfsplus-tools.tar.xz
fetches:
fetch:
- hfsplus-tools
toolchain:
- linux64-clang-11
linux64-libdmg:
description: "libdmg-hfsplus toolchain build"
treeherder:
symbol: TL(libdmg-hfs+)
run:
script: build-libdmg-hfsplus.sh
toolchain-artifact: public/build/dmg.tar.xz
fetches:
fetch:
- libdmg-hfsplus
toolchain:
- linux64-clang-11
- linux64-toolchain-sysroot
linux64-mar-tools:
description: "mar-tools toolchain build"
treeherder:
symbol: TL(mar-tools)
fetches:
toolchain:
- linux64-clang-7
- linux64-binutils
run:
script: build-mar-tools.sh
sparse-profile: null
toolchain-artifact: public/build/mar-tools.tar.xz
resources:
- build/moz.configure
- modules/libmar/
- moz.configure
- other-licenses/bsdiff/
- other-licenses/nsis/Contrib/CityHash/cityhash/
- toolkit/mozapps/update/updater/bspatch/
- tools/update-packaging/
linux64-upx:
description: "UPX build"
treeherder:
symbol: TL(upx)
tier: 1
run:
script: build-upx.sh
toolchain-artifact: public/build/upx.tar.xz
linux64-custom-v8:
description: "Custom v8 build"
treeherder:
symbol: TL(custom-v8)
worker:
docker-image: {in-tree: custom-v8}
max-run-time: 3600
run:
script: build-custom-v8.sh
arguments: [
d8.zip,
is_debug=false,
target_cpu="x64"
]
toolchain-artifact: public/build/d8.zip
browsertime:
description: "npm install browsertime node_modules"
treeherder:
symbol: TL(browsertime)
run:
script: browsertime.sh
sparse-profile: null
resources:
- 'tools/browsertime/package.json'
- 'tools/browsertime/package-lock.json'
- 'tools/browsertime/mach_commands.py'
toolchain-artifact: public/build/browsertime.tar.bz2
fetches:
toolchain:
- linux64-node
wasi-sysroot-11:
description: "wasi sysroot build using clang-11"
attributes:
local-toolchain: true
treeherder:
symbol: TL(wasi-sysroot-11)
run-on-projects: [trunk]
run:
script: build-wasi-sysroot.sh
sparse-profile: null
toolchain-alias: wasi-sysroot
toolchain-artifact: public/build/wasi-sysroot.tar.xz
fetches:
fetch:
- clang-11
- wasi-sdk
toolchain:
- linux64-binutils
- linux64-gcc-7
wasi-sysroot-12:
description: "wasi sysroot build using clang-12"
attributes:
local-toolchain: true
treeherder:
symbol: TL(wasi-sysroot-12)
run-on-projects: [trunk]
run:
script: build-wasi-sysroot.sh
sparse-profile: null
toolchain-artifact: public/build/wasi-sysroot.tar.xz
fetches:
fetch:
- clang-12
- wasi-sdk
toolchain:
- linux64-binutils
- linux64-gcc-7
wrench-deps:
description: "Downloads all the crates needed for building wrench"
treeherder:
symbol: WR(wrench-deps)
worker:
docker-image: {in-tree: webrender}
run:
script: wrench-deps-vendoring.sh
sparse-profile: null
resources:
- 'gfx/wr/Cargo.lock'
- 'gfx/wr/ci-scripts/install-meson.sh'
toolchain-artifact: public/build/wrench-deps.tar.bz2
fetches:
fetch:
- android-rs-glue
toolchain:
- linux64-rust-1.47 # whatever m-c is built with
wgpu-deps:
description: "Downloads all the crates needed for testing wgpu"
treeherder:
symbol: Wgpu(deps)
worker:
docker-image: {in-tree: wgpu}
run:
script: wgpu-deps-vendoring.sh
sparse-profile: null
resources:
- 'gfx/wgpu/Cargo.lock'
toolchain-artifact: public/build/wgpu-deps.tar.bz2
fetches:
fetch:
- android-rs-glue
toolchain:
- linux64-rust-1.47 # whatever m-c is built with
linux64-lucetc:
description: "lucetc build process"
attributes:
local-toolchain: true
treeherder:
symbol: TL(lucetc)
run-on-projects: [trunk]
run:
script: build-lucetc.sh
toolchain-artifact: public/build/lucetc.tar.xz
fetches:
fetch:
- cmake
- lucetc-source
toolchain:
- linux64-binutils
- linux64-clang
- linux64-rust
- linux64-sysroot
linux64-liblowercase:
description: "liblowercase"
treeherder:
symbol: TL(lc)
run:
script: build-liblowercase.sh
sparse-profile: liblowercase
toolchain-artifact: public/build/liblowercase.tar.xz
resources:
- build/liblowercase/
fetches:
toolchain:
- linux64-rust-1.47
linux64-wine:
description: "Wine build for Windows Cross Compile"
treeherder:
symbol: TL(wine)
tier: 1
worker:
max-run-time: 10800
run:
script: build-wine.sh
toolchain-artifact: public/build/wine.tar.xz
fetches:
fetch:
- wine
win32-pdbstr:
description: "pdbstr for 32-bits Windows"
treeherder:
symbol: TW32(pdbstr)
worker-type: b-win2012
worker:
artifacts:
- name: project/gecko/pdbstr/pdbstr.tar.bz2
path: pdbstr.tar.bz2
type: file
run:
script: exfiltrate-pdbstr.sh
arguments: ['x86']
toolchain-artifact: project/gecko/pdbstr/pdbstr.tar.bz2
win64-pdbstr:
description: "pdbstr for 64-bits Windows"
treeherder:
symbol: TW64(pdbstr)
worker-type: b-win2012
worker:
artifacts:
- name: project/gecko/pdbstr/pdbstr.tar.bz2
path: pdbstr.tar.bz2
type: file
run:
script: exfiltrate-pdbstr.sh
arguments: ['x64']
toolchain-artifact: project/gecko/pdbstr/pdbstr.tar.bz2
linux64-winchecksec:
description: "winchecksec"
treeherder:
symbol: TL(winchecksec)
run:
script: build-winchecksec.sh
toolchain-artifact: public/build/winchecksec.tar.bz2
tooltool-downloads: internal
fetches:
fetch:
- winchecksec
win64-winchecksec:
description: "winchecksec"
treeherder:
symbol: TW64(winchecksec)
worker:
env:
TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/vs2017.manifest"
run:
script: build-winchecksec.sh
toolchain-artifact: public/build/winchecksec.tar.bz2
tooltool-downloads: internal
fetches:
fetch:
- winchecksec
toolchain:
- linux64-clang-win-cross
- linux64-liblowercase
linux64-makecab:
description: "makecab toolchain build"
treeherder:
symbol: TL(cab)
run:
script: build-makecab.sh
toolchain-artifact: public/build/makecab.tar.zst
fetches:
fetch:
- makecab
toolchain:
- linux64-rust-1.47