diff --git a/CI/before_install.osx.sh b/CI/before_install.osx.sh index 895b07e1e..3e47d11a1 100755 --- a/CI/before_install.osx.sh +++ b/CI/before_install.osx.sh @@ -6,6 +6,7 @@ brew install https://gist.githubusercontent.com/nikolaykasyanov/f36da224bdef4202 brew switch cmake 3.12.4 brew outdated pkgconfig || brew upgrade pkgconfig brew install qt +brew install ccache curl -fSL -R -J https://downloads.openmw.org/osx/dependencies/openmw-deps-110f3d3.zip -o ~/openmw-deps.zip unzip -o ~/openmw-deps.zip -d /private/tmp/openmw-deps > /dev/null diff --git a/CI/before_script.osx.sh b/CI/before_script.osx.sh index d3994a7ae..5967756ab 100755 --- a/CI/before_script.osx.sh +++ b/CI/before_script.osx.sh @@ -10,6 +10,8 @@ cd build cmake \ -D CMAKE_PREFIX_PATH="$DEPENDENCIES_ROOT;$QT_PATH" \ +-D CMAKE_C_COMPILER_LAUNCHER=/usr/local/opt/ccache/bin/ccache \ +-D CMAKE_CXX_COMPILER_LAUNCHER=/usr/local/opt/ccache/bin/ccache \ -D CMAKE_OSX_DEPLOYMENT_TARGET="10.9" \ -D CMAKE_OSX_SYSROOT="macosx10.14" \ -D CMAKE_BUILD_TYPE=Release \