summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/toolchain/gn.yml
blob: 315785e42594a8aae6c5310f97d2a454e84624fb (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
# 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"
    attributes:
        local-toolchain: true
    worker-type: b-linux-gcp
    worker:
        max-run-time: 1800
    run:
        resources:
            - 'taskcluster/scripts/misc/build-gn-common.sh'
        toolchain-artifact: public/build/gn.tar.zst
    fetches:
        fetch:
            - gn

linux64-gn:
    treeherder:
        symbol: TL(gn)
    run:
        script: build-gn-linux.sh

macosx64-gn:
    treeherder:
        symbol: TM(gn)
    run:
        script: build-gn-macosx.sh
        toolchain-alias: macosx64-aarch64-gn
    fetches:
        toolchain:
            - linux64-clang-toolchain
            - macosx64-sdk-toolchain

win64-gn:
    treeherder:
        symbol: TW64(gn)
    worker-type: b-win2012
    worker:
        max-run-time: 3600
    run:
        script: build-gn-win64.sh
    fetches:
        fetch:
            - ninja
        toolchain:
            - vs-toolchain