Use ccache on macos-cmake CI jobs

This commit is contained in:
Michał Janiszewski committed 2021-03-01 22:15:00 +01:00
1 parent c98746c910
commit d67dce0fe2
2 files changed
+5

No files matched your search

+4
View File
@@ -155,6 +155,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: macos
- name: Build OpenRCT2
run: |
brew install ninja
+1
View File
@@ -52,6 +52,7 @@ realpath() {
}
scriptsdir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
export PATH="$scriptsdir:$PATH"
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
# Output all the variables
if [[ "$1" != "-q" ]]; then