ci: work around ccache segafult during setup

This is the same fix we applied for the macOS. Somehow ccache segfaults
during the init. This only shows on the Ubuntu 19.10 update.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10599
This commit is contained in:
Stefan Schmidt 2019-11-05 15:26:36 +01:00
parent 5ad0f5f7d0
commit db4d908c06
1 changed files with 2 additions and 1 deletions

View File

@ -7,5 +7,6 @@ cp .ci/ccache.conf ~/.ccache
if [ "$1" = "release-ready" ] ; then
ccache -o base_dir="$(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)"
else
ccache -o base_dir=$(pwd)
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
fi