From 22a4fca375e54c5b3fabb56559ef2400cc5807a3 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Tue, 17 Jan 2023 18:10:36 +0200 Subject: [PATCH] [ci] Use sccache for msvc jobs Meson will not use ccache with MSVC, so we use sccache here. --- .github/workflows/msvc-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/msvc-ci.yml b/.github/workflows/msvc-ci.yml index d6b20527d..e744a19a0 100644 --- a/.github/workflows/msvc-ci.yml +++ b/.github/workflows/msvc-ci.yml @@ -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 `