Skip to content

Commit 961e225

Browse files
committed
1 parent 13b6788 commit 961e225

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,21 @@ jobs:
137137
- uses: actions/checkout@v4
138138
with:
139139
submodules: true
140+
- name: Add msbuild to PATH
141+
uses: microsoft/setup-msbuild@v2
142+
with:
143+
vs-version: 'latest'
140144
- name: Setup ccache
141-
uses: hendrikmuhs/ccache-action@v1.2
145+
uses: Chocobo1/setup-ccache-action@v1
142146
with:
143-
key: ccache-${{ github.job }}
144-
max-size: 2G
145-
variant: sccache
147+
windows_compile_environment: msvc
148+
- name: Setup ninja
149+
uses: seanmiddleditch/gha-setup-ninja@v6
150+
- name: Setup MSVC for Ninja again
151+
uses: ilammy/msvc-dev-cmd@v1
146152
- name: Build
147153
run: |
148-
cmake -S . -B build -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_BUILD_TYPE=Release
154+
cmake -S . -B build -G Ninja -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=Release
149155
cmake --build build --parallel --config Release
150156
- name: Test
151157
run: |

0 commit comments

Comments
 (0)