summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Dubé <159546+serprex@users.noreply.github.com>2026-08-16 19:31:38 +0000
committerGitHub <noreply@github.com>2026-08-16 19:31:38 +0000
commit999f6fe89258c0bf3c73e7d175f832f7d4e6640b (patch)
treee63b3e5a7b39fb4a76997a40cc91bdb34760924b
parentbdccc868b777bc1cb48e51da72968fdeaf27d224 (diff)
use ccache for windows too (#7086)
MSVC support added in 4.6
-rw-r--r--.github/workflows/generate-builds.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/generate-builds.yml b/.github/workflows/generate-builds.yml
index 31221bdf3..679580d7e 100644
--- a/.github/workflows/generate-builds.yml
+++ b/.github/workflows/generate-builds.yml
@@ -193,10 +193,9 @@ jobs:
uses: actions/checkout@v7
with:
submodules: true
- - name: Configure sccache
+ - name: Configure ccache
uses: hendrikmuhs/ccache-action@v1.2.23
with:
- variant: sccache
max-size: "2G"
evict-old-files: job
save: ${{ github.ref_name == github.event.repository.default_branch }}
@@ -227,7 +226,7 @@ jobs:
VCPKG_ROOT: ${{github.workspace}}/vcpkg
run: |
set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
- cmake -S . -B build-windows -G Ninja -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DBUILD_REMOTE_CONTROL=1
+ cmake -S . -B build-windows -G Ninja -DCMAKE_MAKE_PROGRAM=ninja -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_REMOTE_CONTROL=1
cmake --build build-windows --config Release --parallel 10
(cd build-windows && cpack)