summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/hazard/kind.yml
blob: 3bb865e8998808fbe74fe22c4917d436b0ecbe77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# 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/.
---
loader: taskgraph.loader.transform:loader

kind-dependencies:
    - toolchain

transforms:
    - taskgraph.transforms.build_attrs:transforms
    - taskgraph.transforms.build_lints:transforms
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms

job-defaults:
    attributes:
        retrigger: true
    treeherder:
        kind: build
        tier: 1
    worker-type: b-linux
    worker:
        max-run-time: 36000
        docker-image: {in-tree: debian8-amd64-build}

jobs:
    linux64-shell-haz/debug:
        description: "JS Shell Hazard Analysis Linux"
        index:
            product: firefox
            job-name: shell-haz-debug
        treeherder:
            platform: linux64/debug
            symbol: SM(H)
        run:
            using: hazard
            command: >
                cd /builds/worker/checkouts/gecko/taskcluster/scripts/builder
                && ./build-haz-linux.sh --project js $HOME/workspace
        when:
            files-changed:
                - js/public/**
                - js/src/**
        fetches:
            toolchain:
                - linux64-clang
                - linux64-gcc-9
                - linux64-gcc-sixgill
                - linux64-rust
                - linux64-cbindgen
                - linux64-node

    linux64-haz/debug:
        description: "Browser Hazard Analysis Linux"
        index:
            product: firefox
            job-name: browser-haz-debug
        treeherder:
            platform: linux64/debug
            symbol: H
        run:
            using: hazard
            command: >
                cd /builds/worker/checkouts/gecko/taskcluster/scripts/builder
                && ./build-haz-linux.sh --project browser $HOME/workspace
        fetches:
            toolchain:
                - linux64-clang
                - linux64-gcc-9
                - linux64-gcc-sixgill
                - linux64-rust
                - linux64-cbindgen
                - linux64-nasm
                - linux64-node
                - linux64-lucetc
                - wasi-sysroot
        optimization:
            skip-unless-backstop: null