2019-08-15 16:51:31 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2023-08-18 14:04:56 +02: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-05 08:43:10 +08:00
|
|
|
export CONTAINER_NAME=ci_win64
|
2024-05-23 10:07:23 +01:00
|
|
|
export CI_IMAGE_NAME_TAG="docker.io/ubuntu:noble" # Check that g++-mingw-w64-x86-64-posix (version 13.2, similar to guix) can cross-compile
|
2025-01-13 08:39:07 -08:00
|
|
|
export CI_IMAGE_PLATFORM="linux/amd64"
|
2019-08-15 16:51:31 -04:00
|
|
|
export HOST=x86_64-w64-mingw32
|
2021-02-09 13:47:53 +01:00
|
|
|
export DPKG_ADD_ARCH="i386"
|
2023-06-28 11:10:51 +01:00
|
|
|
export PACKAGES="nsis g++-mingw-w64-x86-64-posix wine-binfmt wine64 wine32 file"
|
2024-11-13 17:37:35 +01:00
|
|
|
# Install wine, but do not run unit tests, as they surface frequent
|
|
|
|
# false-positives.
|
|
|
|
export RUN_UNIT_TESTS=${RUN_UNIT_TESTS:-false}
|
2019-08-15 16:51:31 -04:00
|
|
|
export RUN_FUNCTIONAL_TESTS=false
|
|
|
|
export GOAL="deploy"
|
2024-07-24 11:54:41 +01:00
|
|
|
export BITCOIN_CONFIG="-DREDUCE_EXPORTS=ON -DBUILD_GUI_TESTS=OFF \
|
2024-05-23 10:07:23 +01:00
|
|
|
-DCMAKE_CXX_FLAGS='-Wno-error=maybe-uninitialized -Wno-error=array-bounds'"
|