macosx64/debug:
    description: "MacOS X x64 Cross-compile"
    index:
        product: firefox
        job-name: macosx64-debug
    treeherder:
        platform: osx-10-7/debug
        symbol: tc(B)
        tier: 1
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build generate-build-stats 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-debug
        tooltool-downloads: internal

macosx64/opt:
    description: "MacOS X x64 Cross-compile"
    index:
        product: firefox
        job-name: macosx64-opt
    treeherder:
        platform: osx-10-7/opt
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build generate-build-stats update]
        config:
            - builds/releng_base_mac_64_cross_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: internal

macosx64-qr/debug:
    description: "MacOS X x64 QuantumRender"
    index:
        product: firefox
        job-name: macosx64-qr-debug
    treeherder:
        platform: osx-10-7-qr/debug
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build generate-build-stats 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-qr-debug
        tooltool-downloads: internal
    run-on-projects: [ 'graphics' ]

macosx64-qr/opt:
    description: "MacOS X x64 QuantumRender"
    index:
        product: firefox
        job-name: macosx64-qr-opt
    treeherder:
        platform: osx-10-7-qr/opt
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build generate-build-stats 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-qr-opt
        tooltool-downloads: internal
    run-on-projects: [ 'graphics' ]

macosx64-add-on-devel/opt:
    description: "MacOS X x64 add-on-devel"
    index:
        product: firefox
        job-name: macosx64-add-on-devel
    treeherder:
        platform: osx-10-7-add-on-devel/opt
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
       using: mozharness
       actions: [get-secrets build generate-build-stats 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' ]
