Commit 97ba77a 1 parent b3c3d9a commit 97ba77a Copy full SHA for 97ba77a
File tree 4 files changed +44
-5
lines changed
4 files changed +44
-5
lines changed Original file line number Diff line number Diff line change 38
38
- $TRAVIS_BUILD_DIR/depends/sdk-sources
39
39
- $TRAVIS_BUILD_DIR/ci/scratch/.ccache
40
40
- $TRAVIS_BUILD_DIR/releases/$HOST
41
- # macOS
42
- - $HOME/Library/Caches/Homebrew
43
- - /usr/local/Homebrew
44
41
before_cache :
45
42
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew cleanup; fi
46
43
stages :
91
88
FILE_ENV="./ci/test/00_setup_env_arm.sh"
92
89
QEMU_USER_CMD=""
93
90
91
+ - stage : test
92
+ name : ' s390x native BE [GOAL: install] [bionic] [no depends, no GUI]'
93
+ arch : s390x
94
+ dist : bionic
95
+ addons :
96
+ apt :
97
+ packages :
98
+ - bsdmainutils
99
+ - libboost-filesystem-dev
100
+ - libboost-system-dev
101
+ - libboost-test-dev
102
+ - libboost-thread-dev
103
+ - libdb++-dev
104
+ - libdb-dev
105
+ - libevent-dev
106
+ env : >-
107
+ RUN_CI_ON_HOST=true
108
+ CI_USE_APT_INSTALL=no
109
+ FILE_ENV="./ci/test/00_setup_env_s390x_host.sh"
110
+
94
111
# s390 build was disabled temporarily because of disk space issues on the Travis VM
95
112
#
96
113
# - stage: test
@@ -158,6 +175,12 @@ jobs:
158
175
# Xcode 11.3.1, macOS 10.14, SDK 10.15
159
176
# https://docs.travis-ci.com/user/reference/osx/#macos-version
160
177
osx_image : xcode11.3
178
+ cache :
179
+ directories :
180
+ - $TRAVIS_BUILD_DIR/ci/scratch/.ccache
181
+ - $TRAVIS_BUILD_DIR/releases/$HOST
182
+ - $HOME/Library/Caches/Homebrew
183
+ - /usr/local/Homebrew
161
184
addons :
162
185
homebrew :
163
186
packages :
@@ -171,4 +194,6 @@ jobs:
171
194
- ccache
172
195
- zeromq
173
196
env : >-
197
+ RUN_CI_ON_HOST=true
198
+ CI_USE_APT_INSTALL=no
174
199
FILE_ENV="./ci/test/00_setup_env_mac_host.sh"
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ export LC_ALL=C.UTF-8
8
8
9
9
export HOST=x86_64-apple-darwin16
10
10
export PIP_PACKAGES=" zmq"
11
- export RUN_CI_ON_HOST=true
12
11
export RUN_UNIT_TESTS=true
13
12
export RUN_FUNCTIONAL_TESTS=false
14
13
export GOAL=" install"
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ #
3
+ # Copyright (c) 2019 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 HOST=s390x-linux-gnu
10
+ export NO_DEPENDS=1
11
+ export BITCOIN_CONFIG=" --with-incompatible-bdb --enable-reduce-exports"
12
+ export RUN_UNIT_TESTS=true
13
+ export RUN_FUNCTIONAL_TESTS=true
14
+ export GOAL=" install"
Original file line number Diff line number Diff line change 66
66
if [[ $DOCKER_NAME_TAG == centos* ]]; then
67
67
${CI_RETRY_EXE} DOCKER_EXEC yum -y install epel-release
68
68
${CI_RETRY_EXE} DOCKER_EXEC yum -y install $DOCKER_PACKAGES $PACKAGES
69
- elif [ " $TRAVIS_OS_NAME " != " osx " ]; then
69
+ elif [ " $CI_USE_APT_INSTALL " != " no " ]; then
70
70
${CI_RETRY_EXE} DOCKER_EXEC apt-get update
71
71
${CI_RETRY_EXE} DOCKER_EXEC apt-get install --no-install-recommends --no-upgrade -y $PACKAGES $DOCKER_PACKAGES
72
72
fi
@@ -77,6 +77,7 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then
77
77
else
78
78
DOCKER_EXEC free -m -h
79
79
DOCKER_EXEC echo " Number of CPUs \(nproc\):" \$\( nproc\)
80
+ DOCKER_EXEC echo $( lscpu | grep Endian)
80
81
DOCKER_EXEC echo " Free disk space:"
81
82
DOCKER_EXEC df -h
82
83
fi
You can’t perform that action at this time.
0 commit comments