aboutsummaryrefslogtreecommitdiff
path: root/.shippable.yml
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2017-11-28 17:41:21 +0100
committerJérôme Forissier <jerome.forissier@linaro.org>2017-12-08 13:37:54 +0100
commitc4a17553f77d7a4fc035475498a10dd718f9a9ce (patch)
treee3ed4c6930f675806de9443e4e567bae54d0a57c /.shippable.yml
parentfed9daa40ae21533d28e09746b38a7da7187c24d (diff)
ci: shippable: configure caching properly for ccache
Caching was inadvertently broken by commit 4af6a141f612 ("ci: shippable: run only platform builds"). I wrongly assumed that Shippable saves the ccache directory by default (~/.ccache), but is not the case. Only $SHIPPABLE_BUILD_DIR is saved, i.e., the checked out project (/root/src/github.com/OP-TEE/optee_os). Fix that by giving the ccache directory in cache_dir_list. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to '.shippable.yml')
-rw-r--r--.shippable.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.shippable.yml b/.shippable.yml
index 1a57e033..e9a9aef2 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -1,6 +1,8 @@
language: c
build:
cache: true
+ cache_dir_list:
+ - /root/.ccache
pre_ci_boot:
image_name: jforissier/optee_os_ci
image_tag: latest