summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/build/android-stuff.yml
blob: 52bed7b18f4054db705ae4c2ce323e843fd85677 (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
# 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:
    tags:
        android-stuff: "true"
    run:
        mozconfig-variant: null

android-geckoview-docs/opt:
    description: "Android GeckoView docs"
    index:
        product: mobile
        job-name: android-geckoview-docs
    treeherder:
        platform: android-4-1-armv7/opt
        kind: build
        tier: 2
        symbol: A(gv-docs)
    run-on-projects: [mozilla-central-only]
    worker-type: b-linux-gcp
    worker:
        docker-image: {in-tree: android-build}
        env:
            GRADLE_USER_HOME: "/builds/worker/checkouts/gecko/mobile/android/gradle/dotgradle-offline"
            PERFHERDER_EXTRA_OPTIONS: android-geckoview-docs
            GECKOVIEW_DOCS_UPLOAD_SECRET: "project/releng/gecko/build/level-{level}/geckoview-docs-upload"
        artifacts:
            - name: public/android/geckoview-docs/geckoview-javadoc.jar
              path: /builds/worker/workspace/obj-build/mobile/android/geckoview/docs/javadoc/withGeckoBinaries-debug/geckoview-javadoc.jar
              type: file
        max-run-time: 7200
    run:
        using: mozharness
        actions: [get-secrets, build]
        config:
            - builds/releng_base_android_64_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: android-geckoview-docs
        tooltool-downloads: internal
    fetches:
        toolchain:
            - android-gradle-dependencies
            - android-sdk-linux
            - linux64-jdk
            - linux64-node
    optimization:
        skip-unless-changed:
            - "mobile/android/**/*.java"
            - "mobile/android/gradle.configure"
            - "**/*.gradle"