summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/build/linux-base-toolchains.yml
blob: c52bcec67b756ce9c46799f1f943173d3fb127cf (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# 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/.
#
# We have these build jobs in a separate file because their definitions are
# different enough from the main Linux build jobs that their presence in
# linux.yml would make using job-defaults there significantly less useful.
---
job-defaults:
    worker-type: b-linux-gcp

linux64-base-toolchains/opt:
    description: "Linux64 base toolchains Opt"
    index:
        product: firefox
        job-name: linux64-base-toolchains-opt
    treeherder:
        platform: linux64/opt
        symbol: Bb
    run-on-projects: ['mozilla-central']
    worker:
        max-run-time: 7200
        env:
            PERFHERDER_EXTRA_OPTIONS: base-toolchains
            FORCE_GCC: '1'
    run:
        using: mozharness
        actions: [get-secrets, build]
        config:
            - builds/releng_base_firefox.py
            - builds/releng_base_linux_64_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
    use-sccache: true
    fetches:
        toolchain:
            - linux64-binutils-2.31.1
            - linux64-clang-base
            - linux64-gcc-base
            - linux64-rust-base
            - linux64-cbindgen
            - linux64-dump_syms
            - linux64-sccache
            - linux64-nasm-2.14.02
            - linux64-node-12
            - linux64-pkgconf
            - sysroot-x86_64-linux-gnu

linux64-base-toolchains/debug:
    description: "Linux64 base toolchains Debug"
    index:
        product: firefox
        job-name: linux64-base-toolchains-debug
    treeherder:
        platform: linux64/debug
        symbol: Bb
    optimization:
        skip-unless-expanded: null
    worker:
        max-run-time: 7200
        env:
            PERFHERDER_EXTRA_OPTIONS: base-toolchains
            FORCE_GCC: '1'
    run:
        using: mozharness
        actions: [get-secrets, build]
        config:
            - builds/releng_base_firefox.py
            - builds/releng_base_linux_64_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: debug
        mozconfig-variant: debug
        tooltool-downloads: public
    use-sccache: true
    fetches:
        toolchain:
            - linux64-binutils-2.31.1
            - linux64-clang-base
            - linux64-gcc-base
            - linux64-rust-base
            - linux64-cbindgen
            - linux64-dump_syms
            - linux64-sccache
            - linux64-nasm-2.14.02
            - linux64-node-12
            - linux64-pkgconf
            - sysroot-x86_64-linux-gnu

linux64-base-toolchains-clang/opt:
    description: "Linux64 base toolchains clang Opt"
    index:
        product: firefox
        job-name: linux64-base-toolchains-clang-opt
    treeherder:
        platform: linux64/opt
        symbol: Bbc
    run-on-projects: ['mozilla-central']
    worker:
        max-run-time: 7200
        env:
            PERFHERDER_EXTRA_OPTIONS: base-toolchains-clang
            DISABLE_CLANG_PLUGIN: '1'
    run:
        using: mozharness
        actions: [get-secrets, build]
        config:
            - builds/releng_base_firefox.py
            - builds/releng_base_linux_64_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
    fetches:
        toolchain:
            - linux64-clang-base
            - linux64-rust-base
            - linux64-cbindgen
            - linux64-dump_syms
            - linux64-nasm-2.14.02
            - linux64-node-12
            - linux64-pkgconf
            - sysroot-x86_64-linux-gnu

linux64-base-toolchains-clang/debug:
    description: "Linux64 base toolchains clang Debug"
    index:
        product: firefox
        job-name: linux64-base-toolchains-clang-debug
    treeherder:
        platform: linux64/debug
        symbol: Bbc
    optimization:
        skip-unless-expanded: null
    worker:
        max-run-time: 5400
        env:
            PERFHERDER_EXTRA_OPTIONS: base-toolchains-clang
            DISABLE_CLANG_PLUGIN: '1'
    run:
        using: mozharness
        actions: [get-secrets, build]
        config:
            - builds/releng_base_firefox.py
            - builds/releng_base_linux_64_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: debug
        mozconfig-variant: debug
        tooltool-downloads: public
    fetches:
        toolchain:
            - linux64-clang-base
            - linux64-rust-base
            - linux64-cbindgen
            - linux64-dump_syms
            - linux64-nasm-2.14.02
            - linux64-node-12
            - linux64-pkgconf
            - sysroot-x86_64-linux-gnu