summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/ci/searchfox/kind.yml
blob: 337c931e93b5bec202fbbc3d8dd8ceaa81fb18c7 (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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# 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/.
---
loader: gecko_taskgraph.loader.transform:loader

kind-dependencies:
    - toolchain
    - fetch

transforms:
    - gecko_taskgraph.transforms.build:transforms
    - gecko_taskgraph.transforms.build_attrs:transforms
    - gecko_taskgraph.transforms.build_lints:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

job-defaults:
    index:
        product: thunderbird
    treeherder:
        symbol: Searchfox(idx)
        kind: build
        tier: 2
    run-on-projects: []
    optimization: null
    use-system-python: false

jobs:
    linux64-searchfox/debug:
        description: "Linux64 Debug Searchfox"
        index:
            job-name: linux64-searchfox-debug
        treeherder:
            platform: linux64/debug
        worker-type: b-linux-gcp
        worker:
            max-run-time: 36000
            env:
                PERFHERDER_EXTRA_OPTIONS: searchfox
                MOZSEARCH_PLATFORM: "linux"
        run:
            using: mozharness
            comm-checkout: true
            actions: [build]
            config-paths:
                - comm/testing/mozharness/configs
            config:
                - builds/taskcluster_base_thunderbird.py
                - builds/releng_sub_linux_configs/64_searchfox_and_debug.py
            script: "mozharness/scripts/fx_desktop_build.py"
            tooltool-downloads: public
            keep-artifacts: false
        fetches:
            toolchain:
                - linux64-binutils
                - linux64-cbindgen
                - linux64-clang
                - linux64-dump_syms
                - linux64-libotr
                - linux64-nasm
                - linux64-node
                - linux64-pkgconf
                - linux64-rust
                - sysroot-wasm32-wasi
                - sysroot-x86_64-linux-gnu

    macosx64-searchfox/debug:
        description: "MacOS X x64 Debug Cross-compile Searchfox"
        index:
            job-name: macosx64-searchfox-debug
        treeherder:
            platform: osx-cross/debug
        worker-type: b-linux-gcp
        worker:
            max-run-time: 36000
            env:
                PERFHERDER_EXTRA_OPTIONS: searchfox
                MOZSEARCH_PLATFORM: "macosx"
        run:
            using: mozharness
            comm-checkout: true
            actions: [build]
            config-paths:
                - comm/testing/mozharness/configs
            config:
                - builds/taskcluster_base_thunderbird.py
                - builds/releng_base_mac_64_cross_builds.py
            script: "mozharness/scripts/fx_desktop_build.py"
            custom-build-variant-cfg: cross-debug-searchfox
            keep-artifacts: false
        fetches:
            toolchain:
                - linux64-binutils
                - linux64-cbindgen
                - linux64-cctools-port
                - linux64-clang
                - linux64-dump_syms
                - linux64-hfsplus
                - linux64-libdmg
                - linux64-nasm
                - linux64-node
                - linux64-rust-macos
                - macosx64-x64-libotr
                - macosx64-sdk
                - sysroot-wasm32-wasi
                - sysroot-x86_64-linux-gnu

    win64-searchfox/debug:
        description: "Win64 Searchfox Debug (clang)"
        index:
            job-name: win64-searchfox-debug
        treeherder:
            platform: windows2012-64/debug
        worker-type: b-linux-gcp
        worker:
            max-run-time: 36000
            env:
                PERFHERDER_EXTRA_OPTIONS: searchfox
                MOZSEARCH_PLATFORM: "windows"
        run:
            using: mozharness
            comm-checkout: true
            options: [append-env-variables-from-configs]
            actions: [build]
            config-paths:
                - comm/testing/mozharness/configs
            script: mozharness/scripts/fx_desktop_build.py
            config:
                - builds/taskcluster_base_thunderbird.py
                - builds/releng_base_linux_64_builds.py
                - builds/taskcluster_sub_win64/searchfox_debug.py
            tooltool-downloads: internal
            extra-config:
                mozconfig_platform: win64
        use-sccache: true
        fetches:
            toolchain:
                - linux64-binutils
                - linux64-cbindgen
                - linux64-clang
                - linux64-dump_syms
                - linux64-nasm
                - linux64-node
                - linux64-rust-cross
                - linux64-rust-size
                - linux64-sccache
                - linux64-winchecksec
                - linux64-wine
                - nsis
                - sysroot-wasm32-wasi
                - sysroot-x86_64-linux-gnu
                - win64-libotr
                - vs
            fetch:
                - upx-3.95-win