taskcluster/ci/build/windows-cross.yml
author Rob Lemley <rob@thunderbird.net>
Thu, 12 Mar 2020 18:04:29 -0400
changeset 38529 71c58d7934b1992cbde449a9c8ce94cda7e08cd8
parent 38528 53e93554544c6cdeb5184ba3f936815f33a14f1c
permissions -rw-r--r--
Bug 1620888: Port bug 1621883: Use linux64-rust-cross toolchain alias for win-cross builds. r=darktrojan

# 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:
    run:
        using: mozharness
        use-caches: false
        comm-checkout: true
        config-paths:
            - comm/mozharness
        tooltool-downloads: internal


win64-cross/opt:
    description: "Win64 Opt Cross"
    index:
        product: thunderbird
        job-name: win64-cross-opt
    attributes:
        enable-build-signing: true
        enable-full-crashsymbols: true
    treeherder:
        platform: windows2012-64/opt
        symbol: Bx
        tier: 2
    worker-type: b-linux
    worker:
        docker-image: {in-tree: debian9-amd64-build}
        max-run-time: 7200
        env:
            PERFHERDER_EXTRA_OPTIONS: cross
            TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win64/releng.manifest"
            # MOZ_AUTOMATION_PACKAGE_TESTS: "1"
    run:
        actions: [build]
        options: [append-env-variables-from-configs]
        script: mozharness/scripts/fx_desktop_build.py
        config:
            - builds/taskcluster_base_thunderbird.py
            - builds/releng_base_linux_64_builds.py
        extra-config:
            stage_platform: win64
            mozconfig_platform: win64
            env:
                LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
                LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4:/builds/worker/checkouts/gecko/mapiheader"
    run-on-projects: ['try-comm-central']
    dependencies:
        thirdparty-libotr-win64: thirdparty-libotr-win64
    fetches:
        toolchain:
            - linux64-binutils
            - linux64-cbindgen
            - linux64-clang-win-cross
            - linux64-dump-syms
            - linux64-liblowercase
            - linux64-nasm
            - linux64-node
            - linux64-rust-cross
            - linux64-rust-size
            - linux64-sccache
            - linux64-wine
        fetch:
            - nsis-3.01-win
            - upx-3.95-win
        thirdparty-libotr-win64:
            - libotr.tar.xz


win32-cross/opt:
    description: "Win32 Opt Cross"
    index:
        product: thunderbird
        job-name: win32-cross-opt
    attributes:
        enable-build-signing: true
        enable-full-crashsymbols: true
    treeherder:
        platform: windows2012-32/opt
        symbol: Bx
        tier: 2
    worker-type: b-linux
    worker:
        docker-image: {in-tree: debian9-amd64-build}
        max-run-time: 7200
        env:
            PERFHERDER_EXTRA_OPTIONS: cross
            TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win32/releng.manifest"
            # MOZ_AUTOMATION_PACKAGE_TESTS: "1"
    run:
        actions: [build]
        options: [append-env-variables-from-configs]
        script: mozharness/scripts/fx_desktop_build.py
        config:
            - builds/taskcluster_base_thunderbird.py
            - builds/releng_base_linux_64_builds.py
        extra-config:
            stage_platform: win32
            mozconfig_platform: win32
            env:
                LD_PRELOAD: "/builds/worker/fetches/liblowercase/liblowercase.so"
                LOWERCASE_DIRS: "/builds/worker/checkouts/gecko/vs2017_15.8.4:/builds/worker/checkouts/gecko/mapiheader"
    run-on-projects: ['try-comm-central']
    dependencies:
        thirdparty-libotr-win32: thirdparty-libotr-win32
    fetches:
        toolchain:
            - linux64-binutils
            - linux64-cbindgen
            - linux64-clang-win-cross
            - linux64-dump-syms
            - linux64-liblowercase
            - linux64-nasm
            - linux64-node
            - linux64-rust-cross
            - linux64-rust-size
            - linux64-sccache
            - linux64-wine
        fetch:
            - nsis-3.01-win
            - upx-3.95-win
        thirdparty-libotr-win32:
            - libotr.tar.xz