/ ci / test / 00_setup_env_win64_msvcrt.sh
00_setup_env_win64_msvcrt.sh
 1  #!/usr/bin/env bash
 2  #
 3  # Copyright (c) 2019-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_msvcrt
10  export CI_IMAGE_NAME_TAG="mirror.gcr.io/ubuntu:24.04"  # Check that https://packages.ubuntu.com/noble/g++-mingw-w64-x86-64-posix (version 13.x, similar to guix) can cross-compile
11  export HOST=x86_64-w64-mingw32
12  export PACKAGES="g++-mingw-w64-x86-64-posix 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  "