summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/toolchain/node.yml
blob: c1bc86254ddaf153a9717666b278c7884340c4ea (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
# 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: "Node repack toolchain build"
    attributes:
        local-toolchain: true
    worker-type: b-linux-gcp
    worker:
        max-run-time: 1800
    run:
        script: repack-node.sh
        toolchain-artifact: public/build/node.tar.zst

linux64-node-12:
    treeherder:
        symbol: TL(node-12)
    fetches:
        fetch:
            - nodejs-12-linux64

linux64-node-16:
    treeherder:
        symbol: TL(node-16)
    run:
        toolchain-alias:
            - linux64-node
    fetches:
        fetch:
            - nodejs-16-linux64

linux64-node-18:
    # The upstream prebuilt binary requires glibc 2.28, which is too recent for Ubuntu 18.04,
    # so we build our own that won't have that requirement.
    description: "Node toolchain build"
    treeherder:
        symbol: TL(node-18)
    run:
        script: build-nodejs.sh
    fetches:
        fetch:
            - nodejs-18-source
        toolchain:
            - linux64-gcc-11
            - linux64-toolchain-sysroot

macosx64-node-16:
    treeherder:
        symbol: TM(node-16)
    run:
        toolchain-alias:
            - macosx64-node
    fetches:
        fetch:
            - nodejs-16-macosx64

macosx64-node-18:
    treeherder:
        symbol: TM(node-18)
    fetches:
        fetch:
            - nodejs-18-macosx64

macosx64-aarch64-node-16:
    treeherder:
        symbol: TM(node-16-arm64)
    run:
        toolchain-alias:
            - macosx64-aarch64-node
    fetches:
        fetch:
            - nodejs-16-macosx64-arm64

macosx64-aarch64-node-18:
    treeherder:
        symbol: TM(node-18-arm64)
    fetches:
        fetch:
            - nodejs-18-macosx64-arm64

win64-node-16:
    treeherder:
        symbol: TW64(node-16)
    run:
        toolchain-alias:
            - win64-node
    fetches:
        fetch:
            - nodejs-16-win64

win64-node-18:
    treeherder:
        symbol: TW64(node-18)
    fetches:
        fetch:
            - nodejs-18-win64

win32-node-16:
    treeherder:
        symbol: TW32(node-16)
    run:
        toolchain-alias:
            - win32-node
    fetches:
        fetch:
            - nodejs-16-win32

win32-node-18:
    treeherder:
        symbol: TW32(node-18)
    fetches:
        fetch:
            - nodejs-18-win32