2019-08-15 16:51:31 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2023-08-18 08:04:56 -04:00
|
|
|
# Copyright (c) 2019-present The Bitcoin Core developers
|
2019-08-15 16:51:31 -04:00
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
|
2020-02-04 21:43:10 -03:00
|
|
|
export CONTAINER_NAME=ci_win64
|
2023-08-18 08:04:56 -04:00
|
|
|
export CI_IMAGE_NAME_TAG="docker.io/amd64/ubuntu:22.04" # Check that Jammy can cross-compile to win64
|
2019-08-15 16:51:31 -04:00
|
|
|
export HOST=x86_64-w64-mingw32
|
2021-02-09 09:47:53 -03:00
|
|
|
export DPKG_ADD_ARCH="i386"
|
2023-06-28 06:10:51 -04:00
|
|
|
export PACKAGES="nsis g++-mingw-w64-x86-64-posix wine-binfmt wine64 wine32 file"
|
2019-08-15 16:51:31 -04:00
|
|
|
export RUN_FUNCTIONAL_TESTS=false
|
|
|
|
export GOAL="deploy"
|
2023-07-17 09:09:44 -04:00
|
|
|
# Prior to 11.0.0, the mingw-w64 headers were missing noreturn attributes, causing warnings when
|
|
|
|
# cross-compiling for Windows. https://sourceforge.net/p/mingw-w64/bugs/306/
|
|
|
|
# https://github.com/mingw-w64/mingw-w64/commit/1690994f515910a31b9fb7c7bd3a52d4ba987abe
|
2023-11-29 08:02:16 -03:00
|
|
|
export BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests CXXFLAGS=-Wno-return-type"
|