summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/ci/build/macosx.yml
blob: d8510362d472ac45f32c2d41a729ebc3fc0dcf04 (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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# 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:
    index:
        product: thunderbird
    worker-type: b-linux-gcp
    run:
        using: mozharness
        comm-checkout: true
        actions: [build]
        config-paths:
            - comm/testing/mozharness/configs
        script: "mozharness/scripts/fx_desktop_build.py"
    optimization:
        skip-suite-only: null
    fetches:
        toolchain:
            - linux64-binutils
            - linux64-cbindgen
            - linux64-cctools-port
            - linux64-clang
            - linux64-dump_syms
            - linux64-hfsplus
            - linux64-libdmg
            - linux64-nasm
            - linux64-node
            - linux64-rust-macos
            - linux64-rust-size
            - sysroot-wasm32-wasi
            - sysroot-x86_64-linux-gnu

macosx64/debug:
    description: "MacOS X x64 Cross-compile"
    index:
        job-name: macosx64-debug
    attributes:
        enable-build-signing: true
        enable-full-crashsymbols: true
    treeherder:
        platform: osx-cross/debug
        symbol: B
        tier: 1
    worker:
        max-run-time: 7200
        env:
            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
    run:
        config:
            - builds/taskcluster_base_thunderbird.py
            - builds/releng_base_mac_64_cross_builds.py
        custom-build-variant-cfg: cross-debug
        mozconfig-variant: debug
    use-sccache: true
    fetches:
        toolchain:
            - linux64-sccache
            - macosx64-x64-libotr
            - macosx64-sdk

macosx64/opt:
    description: "MacOS X x64 Cross-compile"
    index:
        job-name: macosx64-opt
    attributes:
        enable-build-signing: true
        enable-full-crashsymbols: true
    treeherder:
        platform: osx-cross/opt
        symbol: B
        tier: 1
    worker:
        max-run-time: 7200
        env:
            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
    run:
        config:
            - builds/taskcluster_base_thunderbird.py
            - builds/releng_base_mac_64_cross_builds.py
    use-sccache: true
    fetches:
        toolchain:
            - linux64-sccache
            - macosx64-x64-libotr
            - macosx64-sdk

macosx64-x64-shippable/opt:
    description: "MacOS X x64 Cross-compile"
    attributes:
        enable-full-crashsymbols: true
        skip-verify-test-packaging: true
    shipping-phase: build
    shipping-product: thunderbird
    index:
        product: thunderbird
        job-name: macosx64-x64-opt
        type: shippable
    treeherder:
        platform: osx-shippable/opt
        symbol: B
        tier: 1
    run-on-projects: ['release']
    worker:
        max-run-time: 7200
        env:
            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
    run:
        config:
            - builds/taskcluster_base_thunderbird.py
            - builds/releng_base_mac_64_cross_builds.py
            - taskcluster_nightly.py
    fetches:
        toolchain:
            - macosx64-x64-libotr
            - macosx64-sdk

macosx64-aarch64-shippable/opt:
    description: "MacOS X aarch64 Cross-compile"
    attributes:
        enable-full-crashsymbols: true
        skip-verify-test-packaging: true
    shipping-phase: build
    shipping-product: thunderbird
    index:
        product: thunderbird
        job-name: macosx64-aarch64-opt
        type: shippable
    treeherder:
        platform: osx-aarch64-shippable/opt
        symbol: B
        tier: 1
    run-on-projects: ['release']
    worker-type: b-linux-gcp
    worker:
        max-run-time: 7200
        env:
            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
            PERFHERDER_EXTRA_OPTIONS: aarch64
    run:
        config:
            - builds/taskcluster_base_thunderbird.py
            - builds/releng_base_mac_64_cross_builds.py
            - taskcluster_nightly.py
        extra-config:
            mozconfig_platform: macosx64-aarch64
        script: "mozharness/scripts/fx_desktop_build.py"
    fetches:
        toolchain:
            - macosx64-aarch64-libotr
            - macosx64-sdk

macosx64-shippable/opt:
    description: "MacOS Universal"
    attributes:
        shippable: true
        enable-build-signing: true
        skip-upload-crashsymbols: true
        skip-verify-test-packaging: true
    shipping-phase: build
    shipping-product: thunderbird
    index:
        product: thunderbird
        job-name: macosx64-opt
        type: shippable
    treeherder:
        platform: osx-shippable/opt
        symbol: U
        tier: 1
    run-on-projects: ['release']
    worker:
        max-run-time: 1800
    run:
        job-script: taskcluster/scripts/misc/unify.sh
        config:
            - builds/taskcluster_base_thunderbird.py
    dependencies:
        macosx64-x64-shippable-opt: build-macosx64-x64-shippable/opt
        macosx64-aarch64-shippable-opt: build-macosx64-aarch64-shippable/opt
    fetches:
        macosx64-x64-shippable-opt:
            - artifact: target.dmg
              extract: false
              dest: x64
            - artifact: buildhub.json
              extract: false
              dest: ../artifacts
            - artifact: host/bin/mar
              extract: false
              dest: ../artifacts/host/bin
            - artifact: host/bin/mbsdiff
              extract: false
              dest: ../artifacts/host/bin
            - artifact: target.txt
              extract: false
              dest: ../artifacts
            - artifact: target_info.txt
              extract: false
              dest: ../artifacts
            - artifact: target.json
              extract: false
              dest: ../artifacts
            - artifact: target.mozinfo.json
              extract: false
              dest: ../artifacts
            - artifact: target.test_packages.json
              extract: false
              dest: ../artifacts
            - artifact: target.perftests.tests.tar.gz
              extract: false
              dest: ../artifacts
            - artifact: target.common.tests.tar.gz
              dest: x64/common
            - artifact: target.cppunittest.tests.tar.gz
              dest: x64/cppunittest
            - artifact: target.gtest.tests.tar.gz
              dest: x64/gtest
            - artifact: target.jittest.tests.tar.gz
              dest: x64/jittest
            - artifact: target.jsreftest.tests.tar.gz
              dest: x64/jsreftest
            - artifact: target.mochitest.tests.tar.gz
              dest: x64/mochitest
            - artifact: target.reftest.tests.tar.gz
              dest: x64/reftest
            - artifact: target.talos.tests.tar.gz
              dest: x64/talos
            - artifact: target.raptor.tests.tar.gz
              dest: x64/raptor
            - artifact: target.condprof.tests.tar.gz
              dest: x64/confprof
            - artifact: target.awsy.tests.tar.gz
              dest: x64/awsy
            - artifact: target.xpcshell.tests.tar.gz
              dest: x64/xpcshell
            - artifact: target.web-platform.tests.tar.gz
              dest: x64/web-platform
            - artifact: target.updater-dep.tests.tar.gz
              dest: x64/updater-dep
            - artifact: target.crashreporter-symbols.zip
              dest: x64/crashreporter-symbols
            - artifact: target.jsshell.zip
              dest: x64/jsshell
            - artifact: target.generated-files.tar.gz
              extract: false
              dest: ../artifacts
            - artifact: target.langpack.xpi
              extract: false
              dest: ../artifacts
            - artifact: mozharness.zip
              extract: false
              dest: ../artifacts
        macosx64-aarch64-shippable-opt:
            - artifact: target.dmg
              extract: false
              dest: aarch64
            - artifact: target.common.tests.tar.gz
              dest: aarch64/common
            - artifact: target.cppunittest.tests.tar.gz
              dest: aarch64/cppunittest
            - artifact: target.gtest.tests.tar.gz
              dest: aarch64/gtest
            - artifact: target.jittest.tests.tar.gz
              dest: aarch64/jittest
            - artifact: target.jsreftest.tests.tar.gz
              dest: aarch64/jsreftest
            - artifact: target.mochitest.tests.tar.gz
              dest: aarch64/mochitest
            - artifact: target.reftest.tests.tar.gz
              dest: aarch64/reftest
            - artifact: target.talos.tests.tar.gz
              dest: aarch64/talos
            - artifact: target.raptor.tests.tar.gz
              dest: aarch64/raptor
            - artifact: target.condprof.tests.tar.gz
              dest: aarch64/confprof
            - artifact: target.awsy.tests.tar.gz
              dest: aarch64/awsy
            - artifact: target.xpcshell.tests.tar.gz
              dest: aarch64/xpcshell
            - artifact: target.web-platform.tests.tar.gz
              dest: aarch64/web-platform
            - artifact: target.updater-dep.tests.tar.gz
              dest: aarch64/updater-dep
            - artifact: target.crashreporter-symbols.zip
              dest: aarch64/crashreporter-symbols
            - artifact: target.jsshell.zip
              dest: aarch64/jsshell