Skip to content

Commit

Permalink
fix vcpkg setup (#4085)
Browse files Browse the repository at this point in the history
Signed-off-by: Max Raiskii <max.raiskii@meshinspector.com>
  • Loading branch information
MaxRayskiy authored Feb 10, 2025
1 parent 5b3d287 commit d64341c
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,18 @@ jobs:
cxx_compiler: ${{ matrix.runner }} # runner name will be transformed to MSVC name (e.g. windows-2022 -> msvc-2022)
build_config: ${{ matrix.config }}

- name: Checkout Vcpkg ${{ inputs.vcpkg_version }}
working-directory: C:\vcpkg
run: |
git fetch
git checkout ${{ inputs.vcpkg_version }}
- name: Clean Vcpkg Directory
working-directory: C:\vcpkg
run: git clean -ffdx

- name: Checkout & Update Vcpkg ${{ inputs.vcpkg_version }}
working-directory: C:\vcpkg
run: |
git fetch
git pull --rebase
git checkout ${{ inputs.vcpkg_version }}
bootstrap-vcpkg.bat
vcpkg.exe integrate install
- name: Restore Vcpkg Cache
uses: actions/cache@v4
Expand Down

0 comments on commit d64341c

Please sign in to comment.