00_setup_env_win64.sh
1 #!/usr/bin/env bash 2 # 3 # Copyright (c) 2025-present 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 7 export LC_ALL=C.UTF-8 8 9 export CONTAINER_NAME=ci_win64 10 export CI_IMAGE_NAME_TAG="mirror.gcr.io/debian:trixie" # Check that https://packages.debian.org/trixie/g++-mingw-w64-ucrt64 can cross-compile 11 export HOST=x86_64-w64-mingw32ucrt 12 export PACKAGES="g++-mingw-w64-ucrt64 nsis" 13 export RUN_UNIT_TESTS=false 14 export RUN_FUNCTIONAL_TESTS=false 15 export GOAL="deploy" 16 export BITCOIN_CONFIG="\ 17 --preset=dev-mode \ 18 -DENABLE_IPC=OFF \ 19 -DWITH_USDT=OFF \ 20 -DREDUCE_EXPORTS=ON \ 21 -DCMAKE_CXX_FLAGS='-Wno-error=maybe-uninitialized' \ 22 "