[ci] Use sccache for msvc jobs
Meson will not use ccache with MSVC, so we use sccache here.
This commit is contained in:
parent
582636bce0
commit
22a4fca375
|
@ -28,6 +28,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- 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
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
@ -42,6 +46,7 @@ jobs:
|
||||||
pip install --upgrade meson ninja fonttools
|
pip install --upgrade meson ninja fonttools
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
|
sccache --version
|
||||||
meson setup build `
|
meson setup build `
|
||||||
--wrap-mode=forcefallback `
|
--wrap-mode=forcefallback `
|
||||||
--buildtype=release `
|
--buildtype=release `
|
||||||
|
|
Loading…
Reference in New Issue