Skip to content

Commit 7fc5e86

Browse files
committed
test: install lief in CI
1 parent 955140b commit 7fc5e86

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

ci/test/00_setup_env_mac_host.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
export LC_ALL=C.UTF-8
88

99
export HOST=x86_64-apple-darwin18
10-
export PIP_PACKAGES="zmq"
10+
export PIP_PACKAGES="zmq lief"
1111
export GOAL="install"
1212
export BITCOIN_CONFIG="--with-gui --enable-reduce-exports --enable-external-signer"
1313
export CI_OS_NAME="macos"
1414
export NO_DEPENDS=1
1515
export OSX_SDK=""
1616
export CCACHE_SIZE=300M
17-
1817
export RUN_SECURITY_TESTS="true"

ci/test/00_setup_env_native_multiprocess.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ export LC_ALL=C.UTF-8
88

99
export CONTAINER_NAME=ci_native_multiprocess
1010
export DOCKER_NAME_TAG=ubuntu:20.04
11-
export PACKAGES="cmake python3 llvm clang"
11+
export PACKAGES="cmake python3 python3-pip llvm clang"
1212
export DEP_OPTS="DEBUG=1 MULTIPROCESS=1"
1313
export GOAL="install"
1414
export BITCOIN_CONFIG="--enable-external-signer --enable-debug CC=clang CXX=clang++" # Use clang to avoid OOM
1515
export TEST_RUNNER_ENV="BITCOIND=bitcoin-node"
1616
export RUN_SECURITY_TESTS="true"
17+
export PIP_PACKAGES="lief"

ci/test/04_install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ if [[ $DOCKER_NAME_TAG == centos* ]]; then
6767
elif [ "$CI_USE_APT_INSTALL" != "no" ]; then
6868
${CI_RETRY_EXE} DOCKER_EXEC apt-get update
6969
${CI_RETRY_EXE} DOCKER_EXEC apt-get install --no-install-recommends --no-upgrade -y $PACKAGES $DOCKER_PACKAGES
70+
if [ -n "$PIP_PACKAGES" ]; then
71+
${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
72+
fi
7073
fi
7174

7275
if [ "$CI_OS_NAME" == "macos" ]; then

0 commit comments

Comments
 (0)