File tree Expand file tree Collapse file tree 5 files changed +17
-13
lines changed Expand file tree Collapse file tree 5 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -82,14 +82,14 @@ jobs:
82
82
- set -o errexit; source ./ci/lint/06_script.sh
83
83
84
84
- stage : test
85
- name : ' ARM [GOAL: install] [bionic ] [unit tests, functional tests]'
85
+ name : ' ARM [GOAL: install] [buster ] [unit tests, functional tests]'
86
86
arch : arm64
87
87
env : >-
88
88
FILE_ENV="./ci/test/00_setup_env_arm.sh"
89
89
QEMU_USER_CMD="" # Can run the tests natively without qemu
90
90
91
91
- stage : test
92
- name : ' S390x [GOAL: install] [bionic ] [unit tests, functional tests]'
92
+ name : ' S390x [GOAL: install] [buster ] [unit tests, functional tests]'
93
93
arch : s390x
94
94
env : >-
95
95
FILE_ENV="./ci/test/00_setup_env_s390x.sh"
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export DEPENDS_DIR=${DEPENDS_DIR:-$BASE_ROOT_DIR/depends}
51
51
export BASE_OUTDIR=${BASE_OUTDIR:- $BASE_SCRATCH_DIR / out/ $HOST }
52
52
export SDK_URL=${SDK_URL:- https:// bitcoincore.org/ depends-sources/ sdks}
53
53
export WINEDEBUG=${WINEDEBUG:- fixme-all}
54
- export DOCKER_PACKAGES=${DOCKER_PACKAGES:- build-essential libtool autotools-dev automake pkg-config bsdmainutils curl ca-certificates ccache python3 rsync git}
54
+ export DOCKER_PACKAGES=${DOCKER_PACKAGES:- build-essential libtool autotools-dev automake pkg-config bsdmainutils curl ca-certificates ccache python3 rsync git procps }
55
55
export GOAL=${GOAL:- install}
56
56
export DIR_QA_ASSETS=${DIR_QA_ASSETS:- ${BASE_SCRATCH_DIR} / qa-assets}
57
57
export PATH=${BASE_ROOT_DIR} /ci/retry:$PATH
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ if [ -n "$QEMU_USER_CMD" ]; then
16
16
# Likely cross-compiling, so install the needed gcc and qemu-user
17
17
export PACKAGES=" $PACKAGES qemu-user"
18
18
fi
19
+ # Use debian to avoid 404 apt errors when cross compiling
20
+ export DOCKER_NAME_TAG=" debian:buster"
19
21
export USE_BUSY_BOX=true
20
22
export RUN_UNIT_TESTS=true
21
23
export RUN_FUNCTIONAL_TESTS=true
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ if [ -n "$QEMU_USER_CMD" ]; then
16
16
export DPKG_ADD_ARCH=" s390x"
17
17
export PACKAGES=" $PACKAGES g++-s390x-linux-gnu qemu-user libc6:s390x libstdc++6:s390x libfontconfig1:s390x libxcb1:s390x"
18
18
fi
19
+ # Use debian to avoid 404 apt errors
20
+ export DOCKER_NAME_TAG=" debian:buster"
19
21
export RUN_UNIT_TESTS=true
20
22
export RUN_FUNCTIONAL_TESTS=true
21
23
export GOAL=" install"
Original file line number Diff line number Diff line change 72
72
}
73
73
fi
74
74
75
- if [ " $TRAVIS_OS_NAME " == " osx" ]; then
76
- top -l 1 -s 0 | awk ' /PhysMem/ {print}'
77
- echo " Number of CPUs: $( sysctl -n hw.logicalcpu) "
78
- else
79
- DOCKER_EXEC free -m -h
80
- DOCKER_EXEC echo " Number of CPUs \(nproc\):" \$\( nproc\)
81
- DOCKER_EXEC echo " Free disk space:"
82
- DOCKER_EXEC df -h
83
- fi
84
-
85
75
if [ -n " $DPKG_ADD_ARCH " ]; then
86
76
DOCKER_EXEC dpkg --add-architecture " $DPKG_ADD_ARCH "
87
77
fi
@@ -94,6 +84,16 @@ elif [ "$TRAVIS_OS_NAME" != "osx" ]; then
94
84
${CI_RETRY_EXE} DOCKER_EXEC apt-get install --no-install-recommends --no-upgrade -y $PACKAGES $DOCKER_PACKAGES
95
85
fi
96
86
87
+ if [ " $TRAVIS_OS_NAME " == " osx" ]; then
88
+ top -l 1 -s 0 | awk ' /PhysMem/ {print}'
89
+ echo " Number of CPUs: $( sysctl -n hw.logicalcpu) "
90
+ else
91
+ DOCKER_EXEC free -m -h
92
+ DOCKER_EXEC echo " Number of CPUs \(nproc\):" \$\( nproc\)
93
+ DOCKER_EXEC echo " Free disk space:"
94
+ DOCKER_EXEC df -h
95
+ fi
96
+
97
97
if [ ! -d ${DIR_QA_ASSETS} ]; then
98
98
DOCKER_EXEC git clone https://github.com/bitcoin-core/qa-assets ${DIR_QA_ASSETS}
99
99
fi
You can’t perform that action at this time.
0 commit comments