summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorbriaguya <70942617+briaguya-ai@users.noreply.github.com>2024-02-02 00:11:31 -0500
committerGitHub <noreply@github.com>2024-02-01 23:11:31 -0600
commit41c293361953f177263a70b0d41b48eba111fe09 (patch)
treed3b180da19a62a7f6372bb337e71147df263cea1 /.github
parentaff9f40933c751277a07839f78d53b0780362bff (diff)
sccache for windows builds (#3385)
* cache vcpkg on windows ci * try sccache as variant * missed a spot * see if we're checking here * does this do it? * trying to make minimal changes and have this work * hopefully these z7s do something * we were almost at the max already bump to double * Apply suggestions from code review * sc * latest from soh-macready branch of otrexporter
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/generate-builds.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/generate-builds.yml b/.github/workflows/generate-builds.yml
index 99fa2d3bd..674f742d2 100644
--- a/.github/workflows/generate-builds.yml
+++ b/.github/workflows/generate-builds.yml
@@ -273,6 +273,8 @@ jobs:
uses: hendrikmuhs/ccache-action@v1.2
with:
key: ${{ runner.os }}-ccache
+ variant: sccache
+ max-size: "1G"
- name: vcpkg
uses: johnwason/vcpkg-action@v5
with:
@@ -286,7 +288,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=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_REMOTE_CONTROL=1
+ 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 --build build-windows --config Release --parallel 10
mkdir soh-windows