1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(travis): make ccache for OSX work on Travis

This commit is contained in:
sudden6 2017-01-15 11:52:23 +01:00
parent f15888bad1
commit eb2af79b88
No known key found for this signature in database
GPG Key ID: 279509B499E032B9

View File

@ -19,6 +19,15 @@
# Fail out on error
set -e -o pipefail
# accelerate builds with ccache
install_ccache() {
echo "Installing ccache ..."
brew install ccache
# make sure to use ccache for all the compiling
export CC="ccache $CC"
export CXX="ccache $CXX"
}
# Build OSX
build() {
bash ./osx/qTox-Mac-Deployer-ULTIMATE.sh -i
@ -38,6 +47,7 @@ check() {
}
main() {
install_ccache
build
check
}