File tree Expand file tree Collapse file tree
.github/actions/cmake-build-and-test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,23 +38,17 @@ runs:
3838 vcpkgDirectory : ${{ inputs.vcpkg-root }}
3939
4040 - name : Run before cmake build
41- id : before-cmake-build
4241 run : ${{ inputs.before-build }}
4342 shell : bash
4443
45- - name : Cache builds
46- id : cache-build
44+ - name : Cache vcpkg builds
4745 uses : actions/cache@v3
4846 with :
4947 path : |
50- ${{ inputs.build-dir }}
51- !${{ inputs.build-dir }}/CMakeCache.txt
52- !${{ inputs.build-dir }}/CMakeFiles
53- !${{ inputs.build-dir }}/clang-tidy-report
48+ ${{ inputs.build-dir }}/vcpkg_installed
5449 key : ${{ runner.os }}-${{ inputs.build-type }}
5550
5651 - name : Install dependencies and generate project files
57- id : cmake-config
5852 run : cmake -S "${{ github.workspace }}" -B "${{ inputs.build-dir }}" -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -DCMAKE_TOOLCHAIN_FILE="${{ inputs.vcpkg-root }}/scripts/buildsystems/vcpkg.cmake" -DCMAKE_BUILD_TYPE=${{ inputs.build-type }} ${{ inputs.config-option }}
5953 shell : bash
6054
You can’t perform that action at this time.
0 commit comments