mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-17 15:22:38 -03:00
19364c0ddf
b367745cfe
ci: Make Cirrus CI Windows build with --enable-werror (Hennadii Stepanov)c713bb2b24
Fix Windows build with --enable-werror on Ubuntu Focal (Hennadii Stepanov) Pull request description: This PR makes possible to cross-compile Windows build with `--enable-werror --enable-suppress-external-warnings`. Some problems are fixed, others are silenced. Also `--enable-werror` is enabled for Cirrus CI Windows build (the last one on Cirrus CI without `--enable-werror`). ACKs for top commit: practicalswift: cr ACKb367745cfe
: patch looks correct laanwj: Code review ACKb367745cfe
vasild: ACKb367745cfe
jarolrod: ACKb367745cfe
Tree-SHA512: 64f5c99b7dad4c0efce80cd45d7074f275bd8411235dc9e0841287bdab64b812c6f8f9d632c35531d0b8210148531f53aaaac77be7699b29d2d6aaae304dbee0
16 lines
686 B
Bash
Executable file
16 lines
686 B
Bash
Executable file
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2019-2020 The Bitcoin Core developers
|
|
# 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
|
|
|
|
export CONTAINER_NAME=ci_win64
|
|
export DOCKER_NAME_TAG=ubuntu:20.04 # Check that Focal can cross-compile to win64 (Focal is used in the gitian build as well)
|
|
export HOST=x86_64-w64-mingw32
|
|
export DPKG_ADD_ARCH="i386"
|
|
export PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64 wine32 file"
|
|
export RUN_FUNCTIONAL_TESTS=false
|
|
export GOAL="deploy"
|
|
export BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests --disable-external-signer"
|