[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 2023-01-17 18:10:36 +02:00 committed by خالد حسني (Khaled Hosny)
parent 582636bce0
commit 22a4fca375
1 changed files with 5 additions and 0 deletions

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 `