File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -163,10 +163,24 @@ jobs:
163163 - name : Create Build Environment
164164 run : cmake -E make_directory ${{github.workspace}}/build
165165
166+ - name : ccache
167+ uses : hendrikmuhs/ccache-action@v1.2
168+ with :
169+ key : win64
170+
171+ - name : Set up MSVC environment
172+ uses : ilammy/msvc-dev-cmd@v1
173+ with :
174+ arch : x64
175+
176+ - name : Install Ninja
177+ uses : seanmiddleditch/gha-setup-ninja@v3
178+
166179 - name : Configure CMake
167180 shell : bash
168181 working-directory : ${{github.workspace}}/build
169- run : cmake $GITHUB_WORKSPACE -G "Visual Studio 17 2022" -A x64
182+ run : cmake $GITHUB_WORKSPACE -GNinja -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
183+
170184 - name : Build
171185 shell : bash
172186 working-directory : ${{github.workspace}}/build
You can’t perform that action at this time.
0 commit comments