summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/build-samples-browser/kind.yml
blob: 8949d70fad5beb30fee3bd749673365509f4b08b (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
# 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

transforms:
    - android_taskgraph.transforms.build_components:transforms
    - gecko_taskgraph.transforms.build_schedules:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

kind-dependencies:
    - toolchain
    - build-fat-aar


job-defaults:
    attributes:
        build-type: regular
        component: samples-browser
    dependencies:
        build-fat-aar: build-fat-aar-android-geckoview-fat-aar/opt
    description: Execute Gradle tasks for component "{component}"
    fetches:
        toolchain:
            - android-sdk-linux
            - android-gradle-dependencies
            - android-gradle-python-envs
            - linux64-jdk
        build-fat-aar:
            - target.maven.tar.xz
    include-coverage: true
    run:
        pre-gradlew:
            - ["cd", "mobile/android/android-components"]
        using: gradlew
        use-caches: false
    treeherder:
        kind: build
        platform: AC-android-all/opt
        tier: 1
        symbol: 'samples-browser(B)'
    worker-type: b-linux-medium-gcp
    worker:
        chain-of-trust: true
        docker-image: {in-tree: android-components}
        max-run-time: 1200
        env:
            ANDROID_SDK_ROOT: /builds/worker/fetches/android-sdk-linux

jobs:
    gecko:
        run:
            gradlew:
                - ':samples-browser:assembleGecko'
                - ':samples-browser:testGeckoDebugUnitTest'
                - ':samples-browser:lintGeckoDebug'

    system:
        run:
            gradlew: [':samples-browser:assembleSystem']
        treeherder:
            symbol: 'samples-browser-system(B)'