ci: Remove ccache requirement on the host

ccache is only needed to create the cache dir on the host, if it didn't
already exist. The same can be achieved with mkdir, so just use that
instead.
This commit is contained in:
MarcoFalke 2019-10-10 19:03:51 -04:00
parent deb2327b43
commit fafa064d2a
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548
3 changed files with 2 additions and 4 deletions

View File

@ -45,8 +45,6 @@ task:
folder: "/tmp/ccache_dir" folder: "/tmp/ccache_dir"
depends_built_cache: depends_built_cache:
folder: "/tmp/cirrus-ci-build/depends/built" folder: "/tmp/cirrus-ci-build/depends/built"
depends_sdk_cache:
folder: "/tmp/cirrus-ci-build/depends/sdk-sources"
install_script: install_script:
- apt-get update - apt-get update
- apt-get -y install git bash ccache - apt-get -y install git bash ccache

View File

@ -12,7 +12,7 @@ To allow for a wide range of tested environments, but also ensure reproducibilit
requires `docker` to be installed. To install all requirements on Ubuntu, run requires `docker` to be installed. To install all requirements on Ubuntu, run
``` ```
sudo apt install docker.io ccache bash git sudo apt install docker.io bash git
``` ```
To run the default test stage, To run the default test stage,

View File

@ -33,7 +33,7 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then
fi fi
mkdir -p "${BASE_SCRATCH_DIR}" mkdir -p "${BASE_SCRATCH_DIR}"
ccache echo "Creating ccache dir if it didn't already exist" mkdir -p "${CCACHE_DIR}"
if [ ! -d ${DIR_QA_ASSETS} ]; then if [ ! -d ${DIR_QA_ASSETS} ]; then
git clone https://github.com/bitcoin-core/qa-assets ${DIR_QA_ASSETS} git clone https://github.com/bitcoin-core/qa-assets ${DIR_QA_ASSETS}