CI: Use ccache to speed up the build

Speeds up recompilation by caching previous compilations and detecting
when the same compilation is being done again. [skip appveyor]
This commit is contained in:
juvester
2017-02-27 12:10:39 +02:00
parent 4f64be278c
commit 5f128d9e54
4 changed files with 18 additions and 2 deletions

View File

@@ -13,8 +13,11 @@ sudo installer -pkg ./Packages.pkg -target /
brew update
#Base OBS Deps
brew install qt5 jack speexdsp
#Base OBS Deps and ccache
brew install qt5 jack speexdsp ccache
export PATH=/usr/local/opt/ccache/libexec:$PATH
ccache -s || echo "CCache is not available."
# Fetch and untar prebuilt OBS deps that are compatible with older versions of OSX
curl -L -O https://s3-us-west-2.amazonaws.com/obs-nightly/osx-deps.tar.gz -f --retry 5 -C -