File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -22,25 +22,21 @@ jobs:
22
22
compiler :
23
23
- msvc
24
24
steps :
25
- - uses : actions/checkout@v2
25
+ - name : Checkout
26
+ uses : actions/checkout@v2
26
27
with :
27
28
path : main
29
+
30
+ - name : Setup cmake
31
+ uses : lukka/get-cmake@latest
28
32
29
- - name : Setup vcpkg
30
- run : |
31
- mkdir -p ${{ env.VCPKG_DEFAULT_BINARY_CACHE }}
32
- cd $env:VCPKG_INSTALLATION_ROOT
33
- ./bootstrap-vcpkg.bat
34
- ./vcpkg --version > ${{ github.workspace }}/vcpkg-version.txt
33
+ - name : Setup msvc
34
+
35
35
36
- - name : Cache vcpkg
37
- uses : actions/cache@v2
38
- id : vcpkg-cache
39
- env :
40
- cache-name : vcpkg-cache
36
+ - name : Setup vcpkg
37
+ uses : friendlyanon/setup-vcpkg@v1
41
38
with :
42
- path : ${{ env.VCPKG_DEFAULT_BINARY_CACHE }}/*
43
- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('main/**/vcpkg.json', 'vcpkg-version.txt') }}
39
+ committish : 943c5ef1c8f6b5e6ced092b242c8299caae2ff01
44
40
45
41
- name : Build
46
42
You can’t perform that action at this time.
0 commit comments