Merge pull request #14063 from janisozaur/ccache

Use ccache on macos CI jobs
This commit is contained in:
Michał Janiszewski 2021-03-10 22:20:38 +01:00 committed by GitHub
commit 46356ba646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

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

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