mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
c9f072febc
fa6a548f5485ad5be0106e4727812559aefc5a20 ci: Disable s390x gui tests for now (MarcoFalke) Pull request description: ACKs for top commit: hebasto: ACK fa6a548f5485ad5be0106e4727812559aefc5a20, tested locally with Tree-SHA512: 077bcda0b4612dfbf538eb2999ce9f32ec3739c2ed5709f7c4c5d1a39738fbe6e549bd54b237152fd808736c15af1024e67c95dc87b4c3102738543522cb14d7
26 lines
1.1 KiB
Bash
26 lines
1.1 KiB
Bash
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2019 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 HOST=s390x-linux-gnu
|
|
# The host arch is unknown, so we run the tests through qemu.
|
|
# If the host is s390x and wants to run the tests natively, it can set QEMU_USER_CMD to the empty string.
|
|
if [ -z ${QEMU_USER_CMD+x} ]; then export QEMU_USER_CMD="${QEMU_USER_CMD:-"qemu-s390x"}"; fi
|
|
export PACKAGES="python3-zmq"
|
|
if [ -n "$QEMU_USER_CMD" ]; then
|
|
# Likely cross-compiling, so install the needed gcc and qemu-user
|
|
export DPKG_ADD_ARCH="s390x"
|
|
export PACKAGES="$PACKAGES g++-s390x-linux-gnu qemu-user libc6:s390x libstdc++6:s390x"
|
|
fi
|
|
# Use debian to avoid 404 apt errors
|
|
export CONTAINER_NAME=ci_s390x
|
|
export DOCKER_NAME_TAG="debian:focal"
|
|
export RUN_UNIT_TESTS=true
|
|
export RUN_FUNCTIONAL_TESTS=true
|
|
export GOAL="install"
|
|
export BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests" # GUI tests disabled for now, see https://github.com/bitcoin/bitcoin/issues/23730
|