Add ccache support for macOS on Travis
This commit is contained in:
parent
517112f549
commit
c0d3e2da4e
2 changed files with 5 additions and 1 deletions
|
@ -7,8 +7,12 @@ export Qt5_DIR=$(brew --prefix)/opt/qt5
|
||||||
export UNICORNDIR=$(pwd)/externals/unicorn
|
export UNICORNDIR=$(pwd)/externals/unicorn
|
||||||
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
|
export PATH=/usr/local/opt/ccache/libexec:$PATH
|
||||||
|
ccache --show-stats > ccache_before
|
||||||
cmake --version
|
cmake --version
|
||||||
cmake .. -DYUZU_BUILD_UNICORN=ON -DCMAKE_BUILD_TYPE=Release
|
cmake .. -DYUZU_BUILD_UNICORN=ON -DCMAKE_BUILD_TYPE=Release
|
||||||
make -j4
|
make -j4
|
||||||
|
ccache --show-stats > ccache_after
|
||||||
|
diff -U100 ccache_before ccache_after || true
|
||||||
|
|
||||||
ctest -VV -C Release
|
ctest -VV -C Release
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh -ex
|
#!/bin/sh -ex
|
||||||
|
|
||||||
brew update
|
brew update
|
||||||
brew install dylibbundler p7zip qt5 sdl2
|
brew install dylibbundler p7zip qt5 sdl2 ccache
|
||||||
brew outdated cmake || brew upgrade cmake
|
brew outdated cmake || brew upgrade cmake
|
||||||
|
|
Loading…
Reference in a new issue