Skip to content

Commit fab1333

Browse files
author
MarcoFalke
committed
ci: Remove git from required packages on host
1 parent fa00393 commit fab1333

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

ci/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To allow for a wide range of tested environments, but also ensure reproducibilit
1212
requires `docker` to be installed. To install all requirements on Ubuntu, run
1313

1414
```
15-
sudo apt install docker.io bash git
15+
sudo apt install docker.io bash
1616
```
1717

1818
To run the default test stage,

ci/test/00_setup_env.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export BASE_BUILD_DIR=${BASE_BUILD_DIR:-$BASE_ROOT_DIR}
4141
export BASE_OUTDIR=${BASE_OUTDIR:-$BASE_BUILD_DIR/out/$HOST}
4242
export SDK_URL=${SDK_URL:-https://bitcoincore.org/depends-sources/sdks}
4343
export WINEDEBUG=${WINEDEBUG:-fixme-all}
44-
export DOCKER_PACKAGES=${DOCKER_PACKAGES:-build-essential libtool autotools-dev automake pkg-config bsdmainutils curl ca-certificates ccache python3}
44+
export DOCKER_PACKAGES=${DOCKER_PACKAGES:-build-essential libtool autotools-dev automake pkg-config bsdmainutils curl ca-certificates ccache python3 git}
4545
export GOAL=${GOAL:-install}
4646
export DIR_QA_ASSETS=${DIR_QA_ASSETS:-${BASE_BUILD_DIR}/qa-assets}
4747
export PATH=${BASE_ROOT_DIR}/ci/retry:$PATH

ci/test/04_install.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,6 @@ fi
3535
mkdir -p "${BASE_SCRATCH_DIR}"
3636
mkdir -p "${CCACHE_DIR}"
3737

38-
if [ ! -d ${DIR_QA_ASSETS} ]; then
39-
git clone https://github.com/bitcoin-core/qa-assets ${DIR_QA_ASSETS}
40-
fi
41-
export DIR_FUZZ_IN=${DIR_QA_ASSETS}/fuzz_seed_corpus/
42-
4338
export ASAN_OPTIONS="detect_stack_use_after_return=1"
4439
export LSAN_OPTIONS="suppressions=${BASE_BUILD_DIR}/test/sanitizer_suppressions/lsan"
4540
export TSAN_OPTIONS="suppressions=${BASE_BUILD_DIR}/test/sanitizer_suppressions/tsan:log_path=${BASE_BUILD_DIR}/sanitizer-output/tsan"
@@ -84,6 +79,11 @@ if [ "$TRAVIS_OS_NAME" != "osx" ]; then
8479
${CI_RETRY_EXE} DOCKER_EXEC apt-get install --no-install-recommends --no-upgrade -y $PACKAGES $DOCKER_PACKAGES
8580
fi
8681

82+
if [ ! -d ${DIR_QA_ASSETS} ]; then
83+
DOCKER_EXEC git clone https://github.com/bitcoin-core/qa-assets ${DIR_QA_ASSETS}
84+
fi
85+
export DIR_FUZZ_IN=${DIR_QA_ASSETS}/fuzz_seed_corpus/
86+
8787
DOCKER_EXEC mkdir -p "${BASE_BUILD_DIR}/sanitizer-output/"
8888

8989
if [ "$USE_BUSY_BOX" = "true" ]; then

0 commit comments

Comments
 (0)