summaryrefslogtreecommitdiffstats
path: root/taskcluster/kinds/openh264-plugin/kind.yml
blob: e8459df438fdab83b2ce95b09135497e7f8c2a4f (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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
# 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

transforms:
    - gecko_taskgraph.transforms.openh264:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

job-defaults:
    description: "Build OpenH264 plugin"
    treeherder:
        kind: build
        symbol: h264
        tier: 2
    run-on-projects: []
    repo: 'https://github.com/cisco/openh264.git'
    revision: '31c4d2e4a037526fd30d4e5c39f60885986cf865'
    use-python: default
    worker:
        chain-of-trust: true

jobs:
    linux32/opt:
        attributes:
            build_platform: linux32
            build_type: opt
        treeherder:
            platform: linux32/opt
        worker-type: b-linux-gcp
        worker:
            max-run-time: 1800
            artifacts:
                - name: private/openh264
                  path: /builds/worker/workspace/openh264/artifacts
                  type: directory
        run:
            using: mozharness
            script: mozharness/scripts/openh264_build.py
            config:
                - openh264/linux32.py
        fetches:
            toolchain:
                - linux64-binutils
                - linux64-clang
                - linux64-dump_syms
                - linux64-nasm
                - sysroot-i686-linux-gnu
    linux64/opt:
        attributes:
            build_platform: linux64
            build_type: opt
        treeherder:
            platform: linux64/opt
        worker-type: b-linux-gcp
        worker:
            max-run-time: 1800
            artifacts:
                - name: private/openh264
                  path: /builds/worker/workspace/openh264/artifacts
                  type: directory
        run:
            using: mozharness
            script: mozharness/scripts/openh264_build.py
            config:
                - openh264/linux64.py
        fetches:
            toolchain:
                - linux64-binutils
                - linux64-clang
                - linux64-dump_syms
                - linux64-nasm
                - sysroot-x86_64-linux-gnu
    linux64-aarch64/opt:
        attributes:
            build_platform: linux64-aarch64
            build_type: opt
        treeherder:
            platform: linux64-aarch64/opt
        worker-type: b-linux-gcp
        worker:
            max-run-time: 1800
            artifacts:
                - name: private/openh264
                  path: /builds/worker/workspace/openh264/artifacts
                  type: directory
        run:
            using: mozharness
            script: mozharness/scripts/openh264_build.py
            config:
                - openh264/linux64-aarch64.py
        fetches:
            toolchain:
                - linux64-binutils
                - linux64-clang
                - linux64-dump_syms
                - sysroot-x86_64-linux-gnu
                - sysroot-aarch64-linux-gnu
    macosx64/opt:
        attributes:
            build_platform: macosx64
            build_type: opt
        treeherder:
            platform: macosx64/opt
        worker-type: b-linux-gcp
        worker:
            max-run-time: 1800
            artifacts:
                - name: private/openh264
                  path: /builds/worker/workspace/openh264/artifacts
                  type: directory
        run:
            using: mozharness
            script: mozharness/scripts/openh264_build.py
            config:
                - openh264/macosx64.py
        fetches:
            toolchain:
                - linux64-cctools-port
                - linux64-clang
                - linux64-dump_syms
                - linux64-nasm
                - macosx64-sdk-13.3
    macosx64-aarch64/opt:
        attributes:
            build_platform: macosx64-aarch64
            build_type: opt
        treeherder:
            platform: macosx64-aarch64/opt
        worker-type: b-linux-gcp
        worker:
            max-run-time: 1800
            artifacts:
                - name: private/openh264
                  path: /builds/worker/workspace/openh264/artifacts
                  type: directory
        run:
            using: mozharness
            script: mozharness/scripts/openh264_build.py
            config:
                - openh264/macosx64-aarch64.py
        fetches:
            toolchain:
                - linux64-cctools-port
                - linux64-clang
                - linux64-dump_syms
                - macosx64-sdk-13.3
    win32/opt:
        attributes:
            build_platform: win32
            build_type: opt
        treeherder:
            platform: win32/opt
        worker-type: b-win2022
        worker:
            max-run-time: 1800
            artifacts:
                - name: private/openh264
                  path: workspace/openh264/artifacts
                  type: directory
        run:
            using: mozharness
            script: mozharness/scripts/openh264_build.py
            config:
                - openh264/win32.py
            tooltool-downloads: internal
        fetches:
            toolchain:
                - win64-clang
                - win64-dump_syms
                - win64-mozmake
                - win64-nasm
    win64/opt:
        attributes:
            build_platform: win64
            build_type: opt
        treeherder:
            platform: win64/opt
        worker-type: b-win2022
        worker:
            max-run-time: 1800
            artifacts:
                - name: private/openh264
                  path: workspace/openh264/artifacts
                  type: directory
        run:
            using: mozharness
            script: mozharness/scripts/openh264_build.py
            config:
                - openh264/win64.py
            tooltool-downloads: internal
        fetches:
            toolchain:
                - win64-clang
                - win64-dump_syms
                - win64-mozmake
                - win64-nasm
    win64-aarch64/opt:
        attributes:
            build_platform: win64-aarch64
            build_type: opt
        treeherder:
            platform: win64-aarch64/opt
        worker-type: b-win2022
        worker:
            max-run-time: 1800
            artifacts:
                - name: private/openh264
                  path: workspace/openh264/artifacts
                  type: directory
        run:
            using: mozharness
            script: mozharness/scripts/openh264_build.py
            config:
                - openh264/win64-aarch64.py
            tooltool-downloads: internal
        fetches:
            toolchain:
                - win64-clang
                - win64-dump_syms
                - win64-mozmake