From 836334a163f9b42fa7f173de57e05edceb355dc4 Mon Sep 17 00:00:00 2001 From: Jerome Forissier Date: Fri, 1 Jun 2018 17:22:21 +0200 Subject: ci: shippable: set build directory identically for all platforms Further improve the ccache hit rate by setting the build directory to be the same for all platforms. Prior to this, only the build for the same platform could share cached files, because the file path is part of the hash. Signed-off-by: Jerome Forissier Reviewed-by: Jens Wiklander --- .shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.shippable.yml b/.shippable.yml index dc082b6f..e95c207e 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -15,7 +15,7 @@ build: - export CFG_DEBUG_INFO=n; export CCACHE_UNIFY=true # No parallel build ('make -j$(getconf _NPROCESSORS_ONLN)') due to: # https://github.com/Shippable/support/issues/3953 - - function _make() { make -s $* && ccache -s && ccache -z; } + - function _make() { make -s O=out $* && ccache -s && ccache -z; } - ccache -z - _make -- cgit v1.2.3