From 2fa65e0de94f01d502e8ace89be3c5dc963dd764 Mon Sep 17 00:00:00 2001 From: Elichai Turkel Date: Mon, 25 Nov 2019 14:12:51 +0200 Subject: [PATCH 1/2] Add ci script to install on s390x --- ci/test/00_setup_env_s390x.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ci/test/00_setup_env_s390x.sh diff --git a/ci/test/00_setup_env_s390x.sh b/ci/test/00_setup_env_s390x.sh new file mode 100644 index 00000000000..b41d44c61ae --- /dev/null +++ b/ci/test/00_setup_env_s390x.sh @@ -0,0 +1,18 @@ +#!/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-unknown-linux-gnu +export DOCKER_NAME_TAG=s390x/ubuntu:18.04 +export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev" +export NO_DEPENDS=1 +export RUN_UNIT_TESTS=true +export RUN_FUNCTIONAL_TESTS=false +export GOAL="install" +export BITCOIN_CONFIG="--enable-reduce-exports --with-incompatible-bdb" + +lscpu From da1f153e5e260f1744ee1bf4f24ca3a74ffea465 Mon Sep 17 00:00:00 2001 From: Elichai Turkel Date: Mon, 25 Nov 2019 14:13:11 +0200 Subject: [PATCH 2/2] Add s390x tests to travis --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 3ede8788396..6612d5e4d11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -102,6 +102,12 @@ jobs: FILE_ENV="./ci/test/00_setup_env_arm.sh" QEMU_USER_CMD="" # Can run the tests natively without qemu + - stage: test + name: 'S390x [GOAL: install] [unit tests, functional tests]' + arch: s390x + env: >- + FILE_ENV="./ci/test/00_setup_env_s390x.sh" + - stage: test name: 'Win64 [GOAL: deploy] [unit tests, no gui, no functional tests]' env: >-