1#!/usr/bin/env bash
2#
3# Copyright (c) 2019-2020 The Bitcoin Core developers
4# Distributed under the MIT software license, see the accompanying
5# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6
7export LC_ALL=C.UTF-8
8
9export CONTAINER_NAME=ci_win64
10export DOCKER_NAME_TAG=ubuntu:20.04  # Check that Focal can cross-compile to win64 (Focal is used in the gitian build as well)
11export HOST=x86_64-w64-mingw32
12export DPKG_ADD_ARCH="i386"
13export PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64 wine32 file"
14export RUN_FUNCTIONAL_TESTS=false
15export GOAL="deploy"
16export BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests --disable-external-signer"
17
18# Compiler for MinGW-w64 causes false -Wreturn-type warning.
19# See https://sourceforge.net/p/mingw-w64/bugs/306/
20export NO_WERROR=1
21