taskcluster/ci/build/macosx.yml
author Chris AtLee <catlee@mozilla.com>
Thu, 22 Jun 2017 12:49:03 -0400
changeset 368164 a16d92beb70daa33c4e29bf25300ca259ed61b2a
parent 367707 94e9707317f42c406c94bac51278aac894b88109
child 368280 2465ef672c9fd21cd47ed1af1488287d0f60c89c
permissions -rw-r--r--
Bug 1371038: Add configs for doing DMD builds r=Callek This adds the mozconfigs, mozharness configs and taskcluster changes required to create optimized DMD builds for linux64, win32, win64 and macosx64. These builds will happen nightly on mozilla-central We also add support for custom build variants on Windows (or other generic worker environments). MozReview-Commit-ID: HrVT9PLSWVx

macosx64/debug:
    description: "MacOS X x64 Cross-compile"
    index:
        product: firefox
        job-name: macosx64-debug
    treeherder:
        platform: osx-cross/debug
        symbol: tc(B)
        tier: 1
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        max-run-time: 36000
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
        using: mozharness
        actions: [get-secrets build update]
        config:
            - builds/releng_base_mac_64_cross_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: cross-debug
        tooltool-downloads: internal

macosx64/opt:
    description: "MacOS X x64 Cross-compile"
    index:
        product: firefox
        job-name: macosx64-opt
    treeherder:
        platform: osx-cross/opt
        symbol: tc(B)
        tier: 1
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        max-run-time: 36000
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
        using: mozharness
        actions: [get-secrets build update]
        config:
            - builds/releng_base_mac_64_cross_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: internal

macosx64-dmd/opt:
    description: "MacOS X x64 DMD Cross-compile"
    index:
        product: firefox
        job-name: macosx64-dmd-opt
    treeherder:
        platform: osx-10-10-dmd/opt
        symbol: tc(Bdmd)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        max-run-time: 36000
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
        using: mozharness
        actions: [get-secrets build update]
        config:
            - builds/releng_base_mac_64_cross_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        custom-build-variant-cfg: dmd
        secrets: true
        tooltool-downloads: internal
    run-on-projects: [ ]

macosx64-devedition/opt:
    description: "MacOS X Dev Edition x64"
    index:
        product: firefox
        job-name: macosx64-devedition-opt
    treeherder:
        platform: macosx64-devedition/opt
        symbol: tc(B)
        tier: 1
    worker-type: buildbot-bridge/buildbot-bridge
    run:
        using: mozharness
        actions: [get-secrets build update]
        config:
            - builds/releng_base_mac_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: internal
    run-on-projects: ['mozilla-beta',]

macosx64-noopt/debug:
    description: "MacOS X x64 No-optimize Debug"
    index:
        product: firefox
        job-name: macosx64-noopt-debug
    treeherder:
        platform: osx-cross-noopt/debug
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        docker-image: {in-tree: desktop-build}
        max-run-time: 36000
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
        using: mozharness
        actions: [get-secrets build update]
        config:
            - builds/releng_base_mac_64_cross_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: cross-noopt-debug
        tooltool-downloads: internal
        keep-artifacts: false
    run-on-projects: [ 'trunk', 'try' ]

macosx64-add-on-devel/opt:
    description: "MacOS X x64 add-on-devel"
    index:
        product: firefox
        job-name: macosx64-add-on-devel
    treeherder:
        platform: osx-cross-add-on-devel/opt
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        max-run-time: 36000
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
       using: mozharness
       actions: [get-secrets build update]
       config:
            - builds/releng_base_mac_64_cross_builds.py
            - balrog/production.py
       script: "mozharness/scripts/fx_desktop_build.py"
       secrets: true
       custom-build-variant-cfg: add-on-devel
       tooltool-downloads: internal
    run-on-projects: [ 'mozilla-beta', 'mozilla-release', 'mozilla-esr45' ]

macosx64-nightly/opt:
    description: "MacOS X x64 Cross-compile Nightly"
    attributes:
        nightly: true
    index:
        product: firefox
        job-name: macosx64-opt
        type: nightly
    treeherder:
        platform: osx-cross/opt
        symbol: tc(N)
        tier: 1
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        max-run-time: 36000
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
    run:
        using: mozharness
        actions: [get-secrets build update]
        config:
            - builds/releng_base_mac_64_cross_builds.py
            - disable_signing.py
            - taskcluster_nightly.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: internal
    run-on-projects: []