diff options
| -rwxr-xr-x | .travis/macos/build.sh | 4 | ||||
| -rwxr-xr-x | .travis/macos/deps.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.travis/macos/build.sh b/.travis/macos/build.sh index f633f618f..5816b1d6e 100755 --- a/.travis/macos/build.sh +++ b/.travis/macos/build.sh | |||
| @@ -7,8 +7,12 @@ export Qt5_DIR=$(brew --prefix)/opt/qt5 | |||
| 7 | export UNICORNDIR=$(pwd)/externals/unicorn | 7 | export UNICORNDIR=$(pwd)/externals/unicorn |
| 8 | 8 | ||
| 9 | mkdir build && cd build | 9 | mkdir build && cd build |
| 10 | export PATH=/usr/local/opt/ccache/libexec:$PATH | ||
| 11 | ccache --show-stats > ccache_before | ||
| 10 | cmake --version | 12 | cmake --version |
| 11 | cmake .. -DYUZU_BUILD_UNICORN=ON -DCMAKE_BUILD_TYPE=Release | 13 | cmake .. -DYUZU_BUILD_UNICORN=ON -DCMAKE_BUILD_TYPE=Release |
| 12 | make -j4 | 14 | make -j4 |
| 15 | ccache --show-stats > ccache_after | ||
| 16 | diff -U100 ccache_before ccache_after || true | ||
| 13 | 17 | ||
| 14 | ctest -VV -C Release | 18 | ctest -VV -C Release |
diff --git a/.travis/macos/deps.sh b/.travis/macos/deps.sh index 3cd13a39b..1a547c060 100755 --- a/.travis/macos/deps.sh +++ b/.travis/macos/deps.sh | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #!/bin/sh -ex | 1 | #!/bin/sh -ex |
| 2 | 2 | ||
| 3 | brew update | 3 | brew update |
| 4 | brew install dylibbundler p7zip qt5 sdl2 | 4 | brew install dylibbundler p7zip qt5 sdl2 ccache |
| 5 | brew outdated cmake || brew upgrade cmake | 5 | brew outdated cmake || brew upgrade cmake |