summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/toolchain/geckodriver.yml
blob: b28ce85bef4f05cc3901e755730ec9a8f29ab220 (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
# 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: "geckodriver toolchain build"
    worker-type: b-linux-gcp
    worker:
        max-run-time: 1800
    run-on-projects: ['trunk']
    attributes:
        build_type: opt
        geckodriver: true
        shippable: true
        rebuild-on-release: true
    run:
        script: build-geckodriver.sh
        toolchain-artifact: public/build/geckodriver.tar.gz
        sparse-profile: null
        resources:
            - 'testing/geckodriver'
            - 'testing/mozbase/rust'
            - 'testing/webdriver'
            # Changes to 'third_party/rust' should be captured by
            # 'testing/geckodriver/Cargo.toml'.

# For Linux platforms target "*-musl" so that the binary will be statically linked.

linux32-geckodriver:
    treeherder:
        symbol: TL32(gd)
        platform: linux32/opt
    run:
        arguments: ['i686-unknown-linux-musl']
    attributes:
        build_platform: linux-geckodriver
    fetches:
        toolchain:
            - linux64-rust-static

linux64-geckodriver:
    treeherder:
        symbol: TL(gd)
        platform: linux64/opt
    run:
        arguments: ['x86_64-unknown-linux-musl']
    attributes:
        build_platform: linux64-geckodriver
    fetches:
        toolchain:
            - linux64-rust-static

linux64-aarch64-geckodriver:
    treeherder:
        symbol: TL(gd)
        platform: linux64-aarch64/opt
    run:
        arguments: ['aarch64-unknown-linux-musl']
    attributes:
        build_platform: linux64-aarch64-geckodriver
    fetches:
        toolchain:
            - linux64-clang-toolchain
            - linux64-rust-static

macosx64-geckodriver:
    treeherder:
        symbol: TM(gd)
        platform: macosx64/opt
    run:
        arguments: ['x86_64-apple-darwin']
    attributes:
        build_platform: macosx64-geckodriver
    fetches:
        toolchain:
            - linux64-cctools-port
            - linux64-clang-toolchain
            - linux64-rust-macos
            - macosx64-sdk

macosx64-aarch64-geckodriver:
    treeherder:
        symbol: TM(gd)
        platform: macosx64-aarch64/opt
    run:
        arguments: ['aarch64-apple-darwin']
    attributes:
        build_platform: macosx64-aarch64-geckodriver
    fetches:
        toolchain:
            - linux64-cctools-port
            - linux64-clang-toolchain
            - linux64-rust-macos
            - macosx64-sdk

win32-geckodriver:
    treeherder:
        symbol: TW32(gd)
        platform: win32/opt
    run:
        arguments: ['i686-pc-windows-msvc']
        toolchain-artifact: public/build/geckodriver.zip
    attributes:
        build_platform: win32-geckodriver
    fetches:
        toolchain:
            - linux64-clang-toolchain
            - linux64-rust-windows
            - win64-vs2017

win64-aarch64-geckodriver:
    treeherder:
        symbol: TW64(gd)
        platform: windows2012-aarch64/opt
    run:
        arguments: ['aarch64-pc-windows-msvc']
        toolchain-artifact: public/build/geckodriver.zip
    attributes:
        build_platform: win64-aarch64-geckodriver
    fetches:
        toolchain:
            - linux64-clang-toolchain
            - linux64-rust-windows
            - win64-vs2017

win64-geckodriver:
    treeherder:
        symbol: TW64(gd)
        platform: win64/opt
    run:
        arguments: ['x86_64-pc-windows-msvc']
        toolchain-artifact: public/build/geckodriver.zip
    attributes:
        build_platform: win64-geckodriver
    fetches:
        toolchain:
            - linux64-clang-toolchain
            - linux64-rust-windows
            - win64-vs2017