[ci] Use sccache for msvc jobs

Meson will not use ccache with MSVC, so we use sccache here.
This commit is contained in:
Khaled Hosny authored and خالد حسني (Khaled Hosny) committed 2023-01-17 22:21:22 +02:00
1 parent 582636bce0
commit 22a4fca375
1 file changed
+5
+5
View File
@@ -28,6 +28,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: hendrikmuhs/ccache-action@v1.2
with:
variant: sccache
key: ${{ github.job }}-${{ matrix.os }}-${{ matrix.ARCH }}
- uses: actions/setup-python@v4
with:
python-version: '3.x'
@@ -42,6 +46,7 @@ jobs:
pip install --upgrade meson ninja fonttools
- name: Build
run: |
sccache --version
meson setup build `
--wrap-mode=forcefallback `
--buildtype=release `