taskcluster/ci/build/macosx.yml
author Geoff Lankow <geoff@darktrojan.net>
Thu, 15 Aug 2019 22:13:11 +1200
changeset 27330 ecccd8455117a4377ff4727fa6ebe32c6e4849a9
parent 27190 1177eb495b94128e260ffbf14cc378a0fb113652
permissions -rw-r--r--
Bug 1574115 - Port bug 1573435 - Use toolchain fetches for more task kinds; rs=bustage-fix DONTBUILD

# 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/.
---
macosx64/debug:
    description: "MacOS X x64 Cross-compile"
    index:
        product: thunderbird
        job-name: macosx64-debug
    treeherder:
        platform: osx-cross/debug
        symbol: B
        tier: 1
    worker-type: b-linux
    worker:
        max-run-time: 36000
        env:
            # We just use the browser manifest, since we don't need anything different
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
        using: mozharness
        comm-checkout: true
        actions: [build]
        config-paths:
            - comm/mozharness
        config:
            - builds/taskcluster_base_thunderbird.py
            - builds/releng_base_mac_64_cross_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        custom-build-variant-cfg: cross-debug
        mozconfig-variant: debug
        tooltool-downloads: internal
    fetches:
        toolchain:
            - linux64-binutils
            - linux64-cbindgen
            - linux64-cctools-port
            - linux64-clang-macosx-cross
            - linux64-hfsplus
            - linux64-libdmg
            - linux64-llvm-dsymutil
            - linux64-nasm
            - linux64-node
            - linux64-rust-macos
            - linux64-sccache

macosx64/opt:
    description: "MacOS X x64 Cross-compile"
    index:
        product: thunderbird
        job-name: macosx64-opt
    treeherder:
        platform: osx-cross/opt
        symbol: B
        tier: 1
    worker-type: b-linux
    worker:
        max-run-time: 36000
        env:
            # We just use the browser manifest, since we don't need anything different
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
        using: mozharness
        comm-checkout: true
        actions: [build]
        config-paths:
            - comm/mozharness
        config:
            - builds/taskcluster_base_thunderbird.py
            - builds/releng_base_mac_64_cross_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        tooltool-downloads: internal
    fetches:
        toolchain:
            - linux64-binutils
            - linux64-cbindgen
            - linux64-cctools-port
            - linux64-clang-macosx-cross
            - linux64-hfsplus
            - linux64-libdmg
            - linux64-llvm-dsymutil
            - linux64-nasm
            - linux64-node
            - linux64-rust-macos
            - linux64-sccache

macosx64-shippable/opt:
    description: "MacOS X x64 Cross-compile"
    attributes:
        shippable: true
        enable-full-crashsymbols: true
    shipping-phase: build
    shipping-product: thunderbird
    index:
        product: thunderbird
        job-name: macosx64-opt
        type: shippable
    treeherder:
        platform: osx-shippable/opt
        symbol: B
        tier: 1
    worker-type: b-linux
    worker:
        max-run-time: 36000
        env:
            # We just use the browser manifest, since we don't need anything different
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
        using: mozharness
        comm-checkout: true
        actions: [build]
        config-paths:
            - comm/mozharness
        config:
            - builds/taskcluster_base_thunderbird.py
            - builds/releng_base_mac_64_cross_builds.py
            - taskcluster_nightly.py
        script: "mozharness/scripts/fx_desktop_build.py"
        tooltool-downloads: internal
    fetches:
        toolchain:
            - linux64-binutils
            - linux64-cbindgen
            - linux64-cctools-port
            - linux64-clang-macosx-cross
            - linux64-hfsplus
            - linux64-libdmg
            - linux64-llvm-dsymutil
            - linux64-nasm
            - linux64-node
            - linux64-rust-macos