[ci] Use sccache with msys2
diff --git a/.github/workflows/msys2-ci.yml b/.github/workflows/msys2-ci.yml
index 146da01..d08072d 100644
--- a/.github/workflows/msys2-ci.yml
+++ b/.github/workflows/msys2-ci.yml
@@ -33,6 +33,10 @@
shell: msys2 {0}
steps:
- uses: actions/checkout@v3
+ - uses: hendrikmuhs/ccache-action@v1.2
+ with:
+ variant: sccache
+ key: ${{ github.job }}-${{ matrix.MSYSTEM }}-${{ matrix.MSYS2_ARCH }}
- uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.MSYSTEM }}
@@ -57,6 +61,8 @@
pip install --upgrade fonttools
- name: Build
run: |
+ export PATH=$PATH:$(cygpath -u $USERPROFILE/.cargo/bin)
+ sccache --version
meson build \
--wrap-mode=nodownload \
--auto-features=enabled \