taskcluster/ci/build/android.yml
author Makoto Kato <m_kato@ga2.so-net.ne.jp>
Sun, 29 Oct 2017 22:56:41 +0900
changeset 388924 c1c3b82079a559138c75facbdce0c14351e90ebc
parent 386246 5ac2d6424a18fe414d2a955b6ad4bc1498d10fe7
child 389158 44b8d2bb1ec0b777d2711a2daeeb0479fe29cc6a
permissions -rw-r--r--
Bug 1411802 - Build stylo on Android as default. r=nalexander,snorp,jryans - Building is nightly channel only. Beta and release for Fennec 58 don't build stylo. It means that the package size for 58 beta/release isn't incremented by this change. - The preference for stylo is still turned off Nightly 58. It will be turned on 59 after fixing some bugs for crashtests and etc. Our target to enable stylo for Android is 59. - ./mach bootstrap already installs clang etc to build stylo and bindgen. Developers for mobile won't require additional build options for this change. MozReview-Commit-ID: CIpYl8I5d7x

android-api-16/debug:
    description: "Android 4.0 api-16+ Debug"
    index:
        product: mobile
        job-name: android-api-16-debug
    treeherder:
        platform: android-4-0-armv7-api16/debug
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: api-16-debug
        tooltool-downloads: internal
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

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)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: x86
        tooltool-downloads: internal
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-x86-nightly/opt:
    description: "Android 4.2 x86 Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-x86-opt
        type: nightly
    treeherder:
        platform: android-4-2-x86/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: x86
        tooltool-downloads: internal
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-api-16/opt:
    description: "Android 4.0 api-16+ Opt"
    index:
        product: mobile
        job-name: android-api-16-opt
    treeherder:
        platform: android-4-0-armv7-api16/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: api-16
        tooltool-downloads: internal
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-api-16-nightly/opt:
    description: "Android 4.0 api-16+ Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-api-16-opt
        type: nightly-with-multi-l10n
    treeherder:
        platform: android-4-0-armv7-api16/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: api-16
        tooltool-downloads: internal
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-x86-old-id/opt:
    description: "Android 4.2 x86 Opt OldId"
    index:
        product: mobile
        job-name: android-x86-old-id-opt
    treeherder:
        platform: android-4-2-x86-old-id/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: x86-old-id
        tooltool-downloads: internal
    run-on-projects: [ 'mozilla-central' ]
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-x86-old-id-nightly/opt:
    description: "Android 4.2 x86 OldId Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-x86-old-id-opt
        type: nightly
    treeherder:
        platform: android-4-2-x86-old-id/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: x86-old-id
        tooltool-downloads: internal
    run-on-projects: [ 'mozilla-central' ]
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-api-16-old-id/opt:
    description: "Android 4.0 api-16+ Opt OldId"
    index:
        product: mobile
        job-name: android-api-16-old-id-opt
    treeherder:
        platform: android-4-0-armv7-api16-old-id/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: api-16-old-id
        tooltool-downloads: internal
    run-on-projects: [ 'mozilla-central' ]
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-api-16-old-id-nightly/opt:
    description: "Android 4.0 api-16+ OldId Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-api-16-old-id-opt
        type: nightly-with-multi-l10n
    treeherder:
        platform: android-4-0-armv7-api16-old-id/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: api-16-old-id
        tooltool-downloads: internal
    run-on-projects: [ 'mozilla-central' ]
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-api-16-gradle/opt:
    description: "Android 4.0 api-16+ (Gradle) Opt"
    index:
        product: mobile
        job-name: android-api-16-gradle-opt
    treeherder:
        platform: android-api-16-gradle/opt
        symbol: tc(Bg)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: /builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
        artifacts:
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/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"
        secrets: true
        custom-build-variant-cfg: api-16-gradle
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-aarch64/opt:
    description: "Android 5.0 AArch64 Opt"
    index:
        product: mobile
        job-name: android-aarch64-opt
    treeherder:
        platform: android-5-0-aarch64/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: aarch64
        tooltool-downloads: internal
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-aarch64-nightly/opt:
    description: "Android 5.0 AArch64 Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-aarch64-opt
        type: nightly
    treeherder:
        platform: android-5-0-aarch64/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
    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"
        secrets: true
        custom-build-variant-cfg: aarch64
        tooltool-downloads: internal
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar