summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/toolchain/gn.yml
blob: d505fa5f83209ed8ad04629770730167bf67c009 (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
# 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:
    description: "gn toolchain build"
    worker-type: b-linux
    worker:
        max-run-time: 1800
    run-on-projects:
        - trunk
    run:
        resources:
            - 'taskcluster/scripts/misc/build-gn-common.sh'
        toolchain-artifact: public/build/gn.tar.xz
    fetches:
        fetch:
            - gn

linux64-gn:
    treeherder:
        symbol: TL(gn)
    run:
        script: build-gn-linux.sh
    fetches:
        toolchain:
            - linux64-gcc-7

macosx64-gn:
    treeherder:
        symbol: TM(gn)
    worker:
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
        script: build-gn-macosx.sh
        resources:
            - 'taskcluster/scripts/misc/tooltool-download.sh'
        tooltool-downloads: internal
    fetches:
        toolchain:
            - linux64-cctools-port-clang-11
            - linux64-clang-11

win32-gn:
    treeherder:
        symbol: TW64(gn)
    worker-type: b-win2012
    worker:
        max-run-time: 3600
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/vs2017.manifest"
    run:
        script: build-gn-win32.sh
        resources:
            - 'taskcluster/scripts/misc/tooltool-download.sh'
        toolchain-artifact: public/build/gn.tar.bz2
        tooltool-downloads: internal
    fetches:
        fetch:
            - ninja