summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/build/android.yml
blob: 74088e3d30f4fa8d1fe9b094222308c9514ab89d (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
android-api-15/debug:
    description: "Android 4.0 API15+ Debug"
    index:
        product: mobile
        job-name:
            buildbot: android-api-15-debug
            gecko-v2: android-api-15-debug
    treeherder:
        platform: android-4-0-armv7-api15/debug
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        implementation: docker-worker
        max-run-time: 7200
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        custom-build-variant-cfg: api-15-debug
        tooltool-downloads: internal

android-x86/opt:
    description: "Android 4.2 x86 Opt"
    index:
        product: mobile
        job-name: android-x86-opt
    treeherder:
        platform: android-4-2-x86/opt
        symbol: tc(B)
        tier: 1
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        implementation: docker-worker
        max-run-time: 7200
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        custom-build-variant-cfg: x86
        tooltool-downloads: internal

android-api-15/opt:
    description: "Android 4.0 API15+ Opt"
    index:
        product: mobile
        job-name: android-api-15-opt
    treeherder:
        platform: android-4-0-armv7-api15/opt
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        implementation: docker-worker
        max-run-time: 7200
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        custom-build-variant-cfg: api-15
        tooltool-downloads: internal

android-api-15-nightly/opt:
    description: "Android 4.0 API15+ Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-api-15-nightly-opt
    treeherder:
        platform: android-4-0-armv7-api15/opt
        symbol: tc(N)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        implementation: docker-worker
        max-run-time: 7200
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
            - taskcluster_nightly.py
        script: "mozharness/scripts/fx_desktop_build.py"
        custom-build-variant-cfg: api-15
        tooltool-downloads: internal
    run-on-projects: []

android-api-15-gradle/opt:
    description: "Android 4.0 API15+ (Gradle) Opt"
    index:
        product: mobile
        job-name: android-api-15-gradle-opt
    treeherder:
        platform: android-4-0-armv7-api15/opt
        symbol: tc(Bg)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        implementation: docker-worker
        max-run-time: 7200
        env:
            # Bug 1292762 - Set GRADLE_USER_HOME to avoid sdk-manager-plugin intermittent
            GRADLE_USER_HOME: /home/worker/workspace/build/src/dotgradle
        artifacts:
          - name: public/android/maven
            path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/android/geckoview_example.apk
            path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /home/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        custom-build-variant-cfg: api-15-gradle
        tooltool-downloads: internal