taskcluster/ci/toolchain/cbindgen.yml
author Chris Manchester <cmanchester@mozilla.com>
Sat, 25 Jan 2020 16:03:16 +0000
changeset 512009 6a1a55bc4edffcbb799d8e27ba8364a268e29937
parent 507119 aa02e93402e01025296051964250b2dcc0486312
child 512049 86b7021079e538c062e2be8550f1be90a1eca2a6
permissions -rw-r--r--
Bug 1605188 - Update builders to rustc 1.40 r=firefox-build-system-reviewers,rstewart Differential Revision: https://phabricator.services.mozilla.com/D61042

# 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/.
---
job-defaults:
    description: "cbindgen toolchain build"
    worker-type: b-linux
    worker:
        max-run-time: 3600
    run:
        script: build-cbindgen.sh
        toolchain-artifact: public/build/cbindgen.tar.xz
    fetches:
        fetch:
            # If you update this, make sure to update the minimum version in
            # build/moz.configure/bindgen.configure as well.
            - cbindgen-0.12.0

linux64-cbindgen:
    treeherder:
        symbol: TL(cbindgen)
    worker:
        max-run-time: 1800
    run:
        arguments: ['x86_64-unknown-linux-gnu']
    fetches:
        toolchain:
            - linux64-rust-1.40

macosx64-cbindgen:
    treeherder:
        symbol: TM(cbindgen)
    worker:
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-clang.manifest"
    run-on-projects:
        - trunk
        - try
    run:
        arguments: ['x86_64-apple-darwin']
        resources:
            - taskcluster/scripts/misc/tooltool-download.sh
        tooltool-downloads: internal
    fetches:
        toolchain:
            - linux64-cctools-port
            - linux64-clang-9
            - linux64-llvm-dsymutil
            - linux64-rust-macos-1.40

win64-cbindgen:
    treeherder:
        symbol: TW64(cbindgen)
    worker-type: b-win2012
    worker:
        env:
            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/win64/vs2017.manifest"
    run:
        arguments: ['x86_64-pc-windows-msvc']
        resources:
            - taskcluster/scripts/misc/tooltool-download.sh
        toolchain-artifact: public/build/cbindgen.tar.bz2
        tooltool-downloads: internal
    fetches:
        toolchain:
            - win64-rust-1.40