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:
parent
f15888bad1
commit
eb2af79b88
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user