Skip to content

Commit fafa064

Browse files
author
MarcoFalke
committed
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.
1 parent deb2327 commit fafa064

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.cirrus.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ task:
4545
folder: "/tmp/ccache_dir"
4646
depends_built_cache:
4747
folder: "/tmp/cirrus-ci-build/depends/built"
48-
depends_sdk_cache:
49-
folder: "/tmp/cirrus-ci-build/depends/sdk-sources"
5048
install_script:
5149
- apt-get update
5250
- apt-get -y install git bash ccache

ci/README.md

Lines changed: 1 addition & 1 deletion
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 ccache bash git
15+
sudo apt install docker.io bash git
1616
```
1717

1818
To run the default test stage,

ci/test/04_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then
3333
fi
3434

3535
mkdir -p "${BASE_SCRATCH_DIR}"
36-
ccache echo "Creating ccache dir if it didn't already exist"
36+
mkdir -p "${CCACHE_DIR}"
3737

3838
if [ ! -d ${DIR_QA_ASSETS} ]; then
3939
git clone https://github.com/bitcoin-core/qa-assets ${DIR_QA_ASSETS}

0 commit comments

Comments
 (0)