File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -116,16 +116,32 @@ jobs:
116
116
- llvm
117
117
- gcc
118
118
# you can specify the version after `-` like `llvm-13.0.0`.
119
+ include :
120
+ - os : " windows-latest"
121
+ compiler : " msvc"
119
122
steps :
123
+ - name : Cache
124
+ uses : actions/cache@v2
125
+ with :
126
+ path : |
127
+ ~/vcpkg
128
+ ./build/vcpkg_installed
129
+ ${{ env.HOME }}/.cache/vcpkg/archives
130
+ ${{ env.XDG_CACHE_HOME }}/vcpkg/archives
131
+ ${{ env.LOCALAPPDATA }}\vcpkg\archives
132
+ ${{ env.APPDATA }}\vcpkg\archives
133
+ key : ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('./vcpkg.json')}}
134
+ restore-keys : |
135
+ ${{ runner.os }}-${{ env.BUILD_TYPE }}
136
+
120
137
- name : Setup Cpp
121
138
uses : aminya/setup-cpp@v1
122
139
with :
123
140
compiler : ${{ matrix.compiler }}
124
141
cmake : true
125
142
ninja : true
126
143
vcpkg : true
127
- cppcheck : true
128
- ccache : true # instead of `true`, which chooses the default version, you can pass a specific version.
144
+ cppcheck : true # instead of `true`, which chooses the default version, you can pass a specific version.
129
145
# add any tool that you need here...
130
146
```
131
147
You can’t perform that action at this time.
0 commit comments