Bug 1839315: part 4) Link from `SheetLoadData::mWasAlternate` to spec. r=emilio DONTBUILD
[gecko.git] / taskcluster / ci / toolchain / misc.yml
blob83deba7e85218a4dee8439fabde87d8a8c8ffc89
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 ---
5 job-defaults:
6     worker-type: b-linux-gcp
7     worker:
8         max-run-time: 1800
10 linux64-binutils-2.31.1:
11     description: "Binutils toolchain build"
12     treeherder:
13         symbol: TL(binutil2.31)
14     run:
15         script: build-binutils-linux.sh
16         resources:
17             - 'build/unix/build-binutils/build-binutils.sh'
18         toolchain-artifact: public/build/binutils.tar.zst
19     fetches:
20         fetch:
21             - binutils-2.31.1
22         toolchain:
23             # C++ code in gold doesn't compile with recent versions of GCC.
24             - linux64-gcc-8
25             - linux64-toolchain-sysroot
27 linux64-binutils:
28     description: "Binutils toolchain build"
29     treeherder:
30         symbol: TL(binutil)
31     run:
32         script: build-binutils-linux.sh
33         resources:
34             - 'build/unix/build-binutils/build-binutils.sh'
35         toolchain-artifact: public/build/binutils.tar.zst
36     fetches:
37         fetch:
38             - binutils-2.41
39         toolchain:
40             - linux64-toolchain-sysroot
42 linux64-cctools-port:
43     description: "cctools-port toolchain build"
44     treeherder:
45         symbol: TL(cctools-clang)
46     run:
47         script: build-cctools-port.sh
48         toolchain-artifact: public/build/cctools.tar.zst
49     fetches:
50         toolchain:
51             - linux64-clang-toolchain
52             - linux64-toolchain-sysroot
53         fetch:
54             - cctools-port
55             - libtapi
56             - ldid
58 linux64-hfsplus:
59     description: "hfsplus toolchain build"
60     attributes:
61         local-toolchain: true
62     treeherder:
63         symbol: TL(hfs+)
64     run:
65         script: build-hfsplus-linux.sh
66         resources:
67             - 'build/unix/build-hfsplus/build-hfsplus.sh'
68         toolchain-artifact: public/build/hfsplus.tar.zst
69     fetches:
70         fetch:
71             - hfsplus-tools
72         toolchain:
73             - linux64-clang-toolchain
75 linux64-libdmg:
76     description: "libdmg-hfsplus toolchain build"
77     attributes:
78         local-toolchain: true
79     treeherder:
80         symbol: TL(libdmg-hfs+)
81     run:
82         script: build-dmg-hfsplus.sh
83         toolchain-artifact: public/build/dmg.tar.zst
84         toolchain-alias: linux64-dmg
85     fetches:
86         fetch:
87             - libdmg-hfsplus
88         toolchain:
89             - linux64-clang-toolchain
90             - linux64-toolchain-sysroot
92 linux64-mkbom:
93     description: "mkbom toolchain build"
94     attributes:
95         local-toolchain: true
96     treeherder:
97         symbol: TL(mkbom)
98     run:
99         script: build-mkbom-linux.sh
100         toolchain-artifact: public/build/mkbom.tar.zst
101     fetches:
102         fetch:
103             - bomutils
104         toolchain:
105             - linux64-clang-toolchain
106             - linux64-toolchain-sysroot
108 linux64-xar:
109     description: "xar toolchain build"
110     attributes:
111         local-toolchain: true
112     treeherder:
113         symbol: TL(xar)
114     run:
115         script: build-xar-linux.sh
116         toolchain-artifact: public/build/xar.tar.zst
117     fetches:
118         fetch:
119             - xar
120         toolchain:
121             - linux64-clang-toolchain
122             - linux64-toolchain-sysroot
124 linux64-mar-tools:
125     description: "mar-tools toolchain build"
126     treeherder:
127         symbol: TL(mar-tools)
128     fetches:
129         toolchain:
130             - linux64-clang-toolchain
131     run:
132         script: build-mar-tools.sh
133         sparse-profile: null
134         toolchain-artifact: public/build/mar-tools.tar.zst
135         resources:
136             - build/moz.configure
137             - modules/libmar/
138             - moz.configure
139             - other-licenses/bsdiff/
140             - other-licenses/nsis/Contrib/CityHash/cityhash/
141             - toolkit/mozapps/update/updater/bspatch/
142             - tools/update-packaging/
144 linux64-upx:
145     description: "UPX build"
146     treeherder:
147         symbol: TL(upx)
148         tier: 1
149     run:
150         script: build-upx.sh
151         toolchain-artifact: public/build/upx.tar.zst
153 linux64-msix-packaging:
154     description: "msix-packaging build"
155     treeherder:
156         symbol: TL(msix-packaging)
157         tier: 1
158     run:
159         script: build-msix-packaging.sh
160         toolchain-artifact: public/build/msix-packaging.tar.zst
161     fetches:
162         fetch:
163             - msix-packaging
164         toolchain:
165             - linux64-clang-toolchain
166             - linux64-toolchain-sysroot
168 linux64-custom-v8:
169     description: "Custom v8 build"
170     treeherder:
171         symbol: TL(custom-v8)
172     worker:
173         docker-image: {in-tree: custom-v8}
174         max-run-time: 3600
175     run:
176         script: build-custom-v8.sh
177         arguments: [
178             d8.tar.zst,
179             is_debug=false,
180             target_cpu="x64"
181         ]
182         toolchain-artifact: public/build/d8.tar.zst
184 macosx64-custom-car:
185     description: "Custom chromium-as-release build for mac"
186     worker-type: b-osx-1015
187     treeherder:
188         symbol: TM(custom-car)
189     worker:
190         max-run-time: 30000
191     run:
192         script: build-custom-car.sh
193         arguments: [
194             car_macosx.tar.zst,
195             blink_symbol_level=0,
196             chrome_pgo_phase=2,
197             dcheck_always_on=false,
198             enable_nacl=false,
199             enable_resource_allowlist_generation=false,
200             is_chrome_branded=false,
201             is_clang=true,
202             is_component_build=false,
203             is_debug=false,
204             is_official_build=true,
205             symbol_level=0,
206             target_cpu="x64",
207             v8_symbol_level=0
208         ]
209         toolchain-artifact: public/build/car_macosx.tar.zst
210     fetches:
211         toolchain:
212             - MacOSX14.0.sdk
213             - macosx64-python-3.8
215 linux64-custom-car:
216     description: "Custom chromium-as-release build for Linux"
217     treeherder:
218         symbol: TL(custom-car)
219     worker:
220         docker-image: {in-tree: custom-car-linux}
221         max-run-time: 16200
222     run:
223         script: build-custom-car.sh
224         arguments: [
225             car_linux.tar.zst,
226             blink_symbol_level=0,
227             chrome_pgo_phase=2,
228             dcheck_always_on=false,
229             enable_nacl=false,
230             enable_resource_allowlist_generation=false,
231             is_chrome_branded=false,
232             is_clang=true,
233             is_component_build=false,
234             is_debug=false,
235             is_official_build=true,
236             symbol_level=0,
237             target_cpu="x64",
238             v8_symbol_level=0
239         ]
240         toolchain-artifact: public/build/car_linux.tar.zst
242 win64-custom-car:
243     description: "Custom chromium-as-release build for Windows"
244     treeherder:
245         symbol: TW64(custom-car)
246     worker-type: b-win2022
247     worker:
248         max-run-time: 16200
249         env:
250             MSYSTEM: "MINGW64"
251     run:
252         script: build-custom-car.sh
253         arguments: [
254             car_win64.tar.zst,
255             blink_symbol_level=0,
256             chrome_pgo_phase=2,
257             dcheck_always_on=false,
258             enable_nacl=false,
259             enable_resource_allowlist_generation=false,
260             is_chrome_branded=false,
261             is_clang=true,
262             is_component_build=false,
263             is_debug=false,
264             is_official_build=true,
265             symbol_level=0,
266             target_cpu=\"x64\",
267             use_v8_context_snapshot=false,
268             v8_symbol_level=0
269         ]
270         toolchain-artifact: public/build/car_win64.tar.zst
271     fetches:
272         toolchain:
273             - win64-vs2022
275 browsertime:
276     description: "npm install browsertime node_modules"
277     treeherder:
278         symbol: TL(browsertime)
279     run:
280         script: browsertime.sh
281         sparse-profile: null
282         resources:
283             - 'tools/browsertime/package.json'
284             - 'tools/browsertime/package-lock.json'
285             - 'tools/browsertime/mach_commands.py'
286         toolchain-artifact: public/build/browsertime.tar.zst
287     fetches:
288         toolchain:
289             - linux64-node-16
291 wrench-deps:
292     description: "Downloads all the crates needed for building wrench"
293     treeherder:
294         symbol: WR(wrench-deps)
295     worker:
296         docker-image: {in-tree: webrender}
297     run:
298         script: wrench-deps-vendoring.sh
299         sparse-profile: null
300         resources:
301             - 'gfx/wr/Cargo.lock'
302             - 'gfx/wr/ci-scripts/install-meson.sh'
303         toolchain-artifact: public/build/wrench-deps.tar.zst
304     fetches:
305         fetch:
306             - android-ndk-rs
307         toolchain:
308             - linux64-rust  # whatever m-c is built with
310 linux64-wine:
311     description: "Wine build for Windows Cross Compile"
312     attributes:
313         local-toolchain: true
314     treeherder:
315         symbol: TL(wine)
316         tier: 1
317     worker:
318         max-run-time: 10800
319     run:
320         script: build-wine.sh
321         toolchain-artifact: public/build/wine.tar.zst
322     fetches:
323         fetch:
324             - wine
326 linux64-winchecksec:
327     description: "winchecksec"
328     attributes:
329         local-toolchain: true
330     treeherder:
331         symbol: TL(winchecksec)
332     run:
333         script: build-winchecksec.sh
334         arguments: ['x86_64-unknown-linux-gnu']
335         toolchain-artifact: public/build/winchecksec.tar.zst
336         tooltool-downloads: internal
337     fetches:
338         fetch:
339             - winchecksec
341 win64-winchecksec:
342     description: "winchecksec"
343     attributes:
344         local-toolchain: true
345     treeherder:
346         symbol: TW64(winchecksec)
347     run:
348         script: build-winchecksec.sh
349         arguments: ['x86_64-pc-windows-msvc']
350         toolchain-artifact: public/build/winchecksec.tar.zst
351         tooltool-downloads: internal
352     fetches:
353         fetch:
354             - winchecksec
355         toolchain:
356             - linux64-clang-toolchain
357             - vs-toolchain
359 linux64-makecab:
360     description: "makecab toolchain build"
361     treeherder:
362         symbol: TL(cab)
363     worker:
364         env:
365             FETCH: rust-makecab
366     run:
367         script: build-rust-based-toolchain.sh
368         arguments: ['x86_64-unknown-linux-gnu']
369         toolchain-artifact: public/build/makecab.tar.zst
370     fetches:
371         fetch:
372             - makecab
373         toolchain:
374             - linux64-clang-toolchain
375             - linux64-rust-toolchain
376             - sysroot-x86_64-linux-gnu
378 win64-mozmake:
379     description: "mozmake for Windows"
380     attributes:
381         local-toolchain: true
382     treeherder:
383         symbol: TW64(mozmake)
384     run:
385         script: build-mozmake.sh
386         toolchain-artifact: public/build/mozmake.tar.zst
387     fetches:
388         fetch:
389             - gnumake
390         toolchain:
391             - linux64-clang-toolchain
392             - vs-toolchain
394 nsis:
395     description: "NSIS for Linux and Windows"
396     attributes:
397         local-toolchain: true
398     treeherder:
399         symbol: TL(nsis)
400     run:
401         script: build-nsis.sh
402         toolchain-artifact: public/build/nsis.tar.zst
403     fetches:
404         fetch:
405             - nsis-3.07
406             - nsis-3.07-win
407         toolchain:
408             - linux64-clang-toolchain
409             - sysroot-x86_64-linux-gnu
411 win64-vs2019:
412     description: "VS 2019"
413     attributes:
414         local-toolchain: true
415     treeherder:
416         symbol: TW64(msvc2019)
417     worker:
418         env:
419             MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
420     run:
421         script: get_vs.py
422         arguments:
423             - build/vs/vs2019.yaml
424         resources:
425             - build/vs/vs2019.yaml
426         toolchain-artifact: project/gecko/vs/vs.tar.zst
427         toolchain-alias:
428             - vs
429             - vs-toolchain
431 win64-vs2022:
432     description: "VS 2022"
433     attributes:
434         local-toolchain: true
435     treeherder:
436         symbol: TW64(msvc2022)
437     worker:
438         env:
439             MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE: system
440     run:
441         script: get_vs.py
442         arguments:
443             - build/vs/vs2022.yaml
444         resources:
445             - build/vs/vs2022.yaml
446         toolchain-artifact: project/gecko/vs/vs.tar.zst
448 linux64-afl-instrumentation-4.0:
449     description: "AFL++ instrumentation toolchain build"
450     treeherder:
451         symbol: TL(afl++)
452     worker:
453         max-run-time: 3600
454     run:
455         script: build-afl.sh
456         resources:
457             - taskcluster/scripts/misc/afl-nyx.patch
458         toolchain-artifact: public/build/afl-instrumentation.tar.zst
459         toolchain-alias: linux64-afl-instrumentation
460     fetches:
461         fetch:
462             - afl-plus-plus-4.0
463         toolchain:
464             - linux64-clang
465             - linux64-toolchain-sysroot