mirror of https://github.com/OpenRCT2/OpenRCT2.git
Use ccache on macos-cmake CI jobs
This commit is contained in:
parent
c98746c910
commit
d67dce0fe2
|
@ -155,6 +155,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
- name: ccache
|
||||||
|
uses: hendrikmuhs/ccache-action@v1
|
||||||
|
with:
|
||||||
|
key: macos
|
||||||
- name: Build OpenRCT2
|
- name: Build OpenRCT2
|
||||||
run: |
|
run: |
|
||||||
brew install ninja
|
brew install ninja
|
||||||
|
|
|
@ -52,6 +52,7 @@ realpath() {
|
||||||
}
|
}
|
||||||
scriptsdir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
|
scriptsdir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
|
||||||
export PATH="$scriptsdir:$PATH"
|
export PATH="$scriptsdir:$PATH"
|
||||||
|
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
||||||
|
|
||||||
# Output all the variables
|
# Output all the variables
|
||||||
if [[ "$1" != "-q" ]]; then
|
if [[ "$1" != "-q" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue