summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/toolchain/geckodriver.yml
blob: 1af7b5cdbda724e061f3af040b01985d404d4572 (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
# 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
    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

macosx64-geckodriver:
    treeherder:
        symbol: TM(gd)
        platform: macosx64/opt
    worker:
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
        arguments: ['x86_64-apple-darwin']
        resources:
            - taskcluster/scripts/misc/tooltool-download.sh
        tooltool-downloads: internal
    attributes:
        build_platform: macosx64-geckodriver
    fetches:
        toolchain:
            - linux64-cctools-port
            - linux64-clang
            - linux64-llvm-dsymutil
            - linux64-rust-macos

win32-geckodriver:
    treeherder:
        symbol: TW32(gd)
        platform: win32/opt
    worker:
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/vs2017.manifest"
    run:
        arguments: ['i686-pc-windows-msvc']
        resources:
            - taskcluster/scripts/misc/tooltool-download.sh
        toolchain-artifact: public/build/geckodriver.zip
        tooltool-downloads: internal
    attributes:
        build_platform: win32-geckodriver
    fetches:
        toolchain:
            - linux64-clang
            - linux64-rust-windows

win64-geckodriver:
    treeherder:
        symbol: TW64(gd)
        platform: win64/opt
    worker:
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/vs2017.manifest"
    run:
        arguments: ['x86_64-pc-windows-msvc']
        resources:
            - taskcluster/scripts/misc/tooltool-download.sh
        toolchain-artifact: public/build/geckodriver.zip
        tooltool-downloads: internal
    attributes:
        build_platform: win64-geckodriver
    fetches:
        toolchain:
            - linux64-clang
            - linux64-rust-windows