taskcluster/ci/toolchain/mingw.yml
author Tom Prince <mozilla@hocat.ca>
Wed, 27 Mar 2019 22:30:54 +0000
changeset 466468 99fa5539c2bda621abac134300428129969b2cdf
parent 463576 8ecd607b3d513cf2646705ccb6c29fc0a463d959
child 466542 4e2ea1a75e878ae392e4775f2eddd9f83d1b008e
permissions -rw-r--r--
Bug 1458385: Make linux64-upx toolchain tier 1; r=glandium This also switches it to use the generic toolchain build image, as it is no longer being used exclusively by mingw builds. Differential Revision: https://phabricator.services.mozilla.com/D24230

# 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:
    treeherder:
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        docker-image: {in-tree: mingw32-build}
        max-run-time: 3600

linux64-wine:
    description: "Wine build for MinGW32 Cross Compile"
    treeherder:
        symbol: TMW(wine)
    worker:
        max-run-time: 10800
    run:
        script: build-wine.sh
        toolchain-artifact: public/build/wine.tar.xz
    fetches:
        fetch:
            - wine-3.0.3

linux64-mingw32-gcc:
    description: "GCC toolchain build for MinGW32 Cross Compile"
    treeherder:
        symbol: TMW(mingw32-gcc)
    worker:
        max-run-time: 10800
    run:
        script: build-gcc-mingw32.sh
        resources:
            - 'build/unix/build-gcc/build-gcc.sh'
        toolchain-artifact: public/build/mingw32.tar.xz
    fetches:
        fetch:
            - binutils-2.27
            - gcc-6.4.0
            - gmp-5.1.3
            - isl-0.15
            - mpc-0.8.2
            - mpfr-3.1.5

linux64-mingw32-nsis:
    description: "NSIS build for MinGW32 Cross Compile"
    treeherder:
        symbol: TMW(mingw32-nsis)
    run:
        script: build-mingw32-nsis.sh
        resources:
            - 'build/unix/build-gcc/build-gcc.sh'
            - 'taskcluster/scripts/misc/build-gcc-mingw32.sh'
        toolchain-artifact: public/build/nsis.tar.xz
    toolchains:
        - linux64-mingw32-gcc
    fetches:
        fetch:
            - nsis-3.01
            - zlib-1.2.11

linux64-mingw-fxc2-x86:
    description: "fxc2.exe x86 build for MinGW Cross Compile"
    treeherder:
        symbol: TMW(mingw-fxc2-x86)
    worker:
        max-run-time: 1800
    run:
        using: toolchain-script
        script: build-mingw-fxc2-x86.sh
        resources:
            - 'build/build-clang/build-clang.py'
            - 'build/build-clang/clang-trunk-mingw.json'
            - 'taskcluster/scripts/misc/build-clang-trunk-mingw.sh'
        toolchain-artifact: public/build/fxc2.tar.xz
    toolchains:
        - linux64-clang-trunk-mingw-x86