.github: Cache macOS library packages

This commit is contained in:
Matt Borgerson 2021-10-12 00:44:55 -07:00 committed by mborgerson
parent db2a6aaf6d
commit 5deeca4a27
1 changed files with 5 additions and 4 deletions

View File

@ -177,12 +177,13 @@ jobs:
dylibbundler \
pkg-config \
ninja
- name: Initialize compiler cache
- name: Initialize compiler, library cache
id: cache
# FIXME: actions/cache@v2 broken on macOS?
uses: actions/cache@v1
uses: actions/cache@v2.1.6
with:
path: /tmp/xemu-ccache
path: |
/tmp/xemu-ccache
macos-pkgs
key: cache-${{ runner.os }}-${{ matrix.arch }}-${{ matrix.configuration }}-${{ github.sha }}
restore-keys: cache-${{ runner.os }}-${{ matrix.arch }}-${{ matrix.configuration }}-
- name: Compile