File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,11 @@ jobs:
118
118
env : >-
119
119
FILE_ENV="./ci/test/00_setup_env_i686.sh"
120
120
121
+ - stage : test
122
+ name : ' x86_64 Linux [GOAL: install] [CentOS 7] [no depends, only system libs]'
123
+ env : >-
124
+ FILE_ENV="./ci/test/00_setup_env_native_centos.sh"
125
+
121
126
- stage : test
122
127
name : ' x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout] [unsigned char]'
123
128
env : >-
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 DOCKER_NAME_TAG=centos:7
10
+ export DOCKER_PACKAGES=" gcc-c++ libtool make git python3 python36-zmq"
11
+ export PACKAGES=" boost-devel libevent-devel libdb4-devel libdb4-cxx-devel miniupnpc-devel zeromq-devel qt5-qtbase-devel qt5-qttools-devel qrencode-devel"
12
+ export NO_DEPENDS=1
13
+ export GOAL=" install"
14
+ export BITCOIN_CONFIG=" --enable-reduce-exports"
Original file line number Diff line number Diff line change 6
6
7
7
export LC_ALL=C.UTF-8
8
8
9
+ if [[ $DOCKER_NAME_TAG == centos* ]]; then
10
+ export LC_ALL=en_US.utf8
11
+ fi
12
+
9
13
if [ " $TRAVIS_OS_NAME " == " osx" ]; then
10
14
set +o errexit
11
15
pushd /usr/local/Homebrew || exit 1
@@ -78,7 +82,10 @@ if [ -n "$DPKG_ADD_ARCH" ]; then
78
82
DOCKER_EXEC dpkg --add-architecture " $DPKG_ADD_ARCH "
79
83
fi
80
84
81
- if [ " $TRAVIS_OS_NAME " != " osx" ]; then
85
+ if [[ $DOCKER_NAME_TAG == centos* ]]; then
86
+ ${CI_RETRY_EXE} DOCKER_EXEC yum -y install epel-release
87
+ ${CI_RETRY_EXE} DOCKER_EXEC yum -y install $DOCKER_PACKAGES $PACKAGES
88
+ elif [ " $TRAVIS_OS_NAME " != " osx" ]; then
82
89
${CI_RETRY_EXE} DOCKER_EXEC apt-get update
83
90
${CI_RETRY_EXE} DOCKER_EXEC apt-get install --no-install-recommends --no-upgrade -y $PACKAGES $DOCKER_PACKAGES
84
91
fi
You can’t perform that action at this time.
0 commit comments