Skip to content

Commit fa52a40

Browse files
author
MarcoFalke
committed
ci: Make cirrus cache folders relative to cirrus base dir
1 parent fa27841 commit fa52a40

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.cirrus.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ env:
66
TEST_RUNNER_PORT_MIN: "14000" # Must be larger than 12321, which is used for the http cache. See https://cirrus-ci.org/guide/writing-tasks/#http-cache
77
CCACHE_SIZE: "200M"
88
CCACHE_DIR: "/tmp/ccache_dir"
9+
CCACHE_NOHASHDIR: "1" # Debug info might contain a stale path if the build dir changes, but this is fine
910

1011
cirrus_ephemeral_worker_template_env: &CIRRUS_EPHEMERAL_WORKER_TEMPLATE_ENV
1112
DANGER_RUN_CI_ON_HOST: "1" # Containers will be discarded after the run, so there is no risk that the ci scripts modify the system
@@ -39,9 +40,9 @@ global_task_template: &GLOBAL_TASK_TEMPLATE
3940
ccache_cache:
4041
folder: "/tmp/ccache_dir"
4142
depends_built_cache:
42-
folder: "/tmp/cirrus-ci-build/depends/built"
43+
folder: "depends/built"
4344
depends_sdk_cache:
44-
folder: "/tmp/cirrus-ci-build/depends/sdk-sources"
45+
folder: "depends/sdk-sources"
4546
ci_script:
4647
- ./ci/test_run_all.sh
4748

@@ -114,7 +115,7 @@ task:
114115
<< : *CREDITS_TEMPLATE
115116
<< : *GLOBAL_TASK_TEMPLATE
116117
depends_releases_cache:
117-
folder: "/tmp/cirrus-ci-build/releases"
118+
folder: "releases"
118119
container:
119120
image: ubuntu:bionic
120121
env:
@@ -204,7 +205,7 @@ task:
204205
task:
205206
name: 'ARM64 Android APK [focal]'
206207
depends_sources_cache:
207-
folder: "/tmp/cirrus-ci-build/depends/sources"
208+
folder: "depends/sources"
208209
<< : *GLOBAL_TASK_TEMPLATE
209210
container:
210211
image: ubuntu:focal

0 commit comments

Comments
 (0)