Update ci.yml

This commit is contained in:
McMassiveNZ
2023-01-24 20:31:23 +01:00
parent 2d668590ad
commit 1d21e80605

View File

@@ -41,31 +41,31 @@ jobs:
submodules: true submodules: true
- name: cache - name: cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: | path: |
~/vcpkg ~/vcpkg
./build/vcpkg_installed ./build/vcpkg_installed
${{ env.HOME }}/.cache/vcpkg/archives ${{ env.HOME }}/.cache/vcpkg/archives
${{ env.XDG_CACHE_HOME }}/vcpkg/archives ${{ env.XDG_CACHE_HOME }}/vcpkg/archives
${{ env.LOCALAPPDATA }}\vcpkg\archives ${{ env.LOCALAPPDATA }}\vcpkg\archives
${{ env.APPDATA }}\vcpkg\archives ${{ env.APPDATA }}\vcpkg\archives
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('./vcpkg.json')}} key: ${{ runner.os }}-${{ matrix.compiler }}-${{ env.BUILD_TYPE }}-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('./vcpkg.json')}}
restore-keys: | restore-keys: |
${{ runner.os }}-${{ env.BUILD_TYPE }}- ${{ runner.os }}-${{ env.BUILD_TYPE }}-
- name: setup dependencies - name: setup dependencies
uses: aminya/setup-cpp@v1 uses: aminya/setup-cpp@v1
with: with:
compiler: ${{ matrix.compiler }} compiler: ${{ matrix.compiler }}
vcvarsall: ${{ contains(matrix.os, 'windows' )}} vcvarsall: ${{ contains(matrix.os, 'windows' )}}
cmake: true cmake: true
ninja: true ninja: true
vcpkg: true vcpkg: true
ccache: true ccache: true
clangtidy: ${{ env.CLANG_TIDY_VERSION }} clangtidy: ${{ env.CLANG_TIDY_VERSION }}
cppcheck: true cppcheck: true
- name: Boostrap Vcpkg - name: Boostrap Vcpkg
run: ${{github.workspace}}/external/vcpkg/${{matrix.vcpkg_bootstrap}} -disableMetrics run: ${{github.workspace}}/external/vcpkg/${{matrix.vcpkg_bootstrap}} -disableMetrics