Skip to content

Commit 9b11c64

Browse files
committed
Manually install vcpkg in CI validation job
1 parent f2501b1 commit 9b11c64

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,13 @@ jobs:
5353
runs-on: ubuntu-latest
5454
steps:
5555
- uses: actions/checkout@v4
56-
- uses: vcpkg/setup-vcpkg@v1
56+
- name: Install vcpkg
57+
run: |
58+
git clone https://github.com/microsoft/vcpkg.git
59+
./vcpkg/bootstrap-vcpkg.sh
5760
- name: Validate port
58-
run: vcpkg install time-shield-cpp --overlay-ports=vcpkg-overlay/ports
61+
run: ./vcpkg/vcpkg install time-shield-cpp --overlay-ports=vcpkg-overlay/ports
5962
- name: Configure consumer project
60-
run: cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake
63+
run: cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake
6164
- name: Build consumer project
6265
run: cmake --build build

0 commit comments

Comments
 (0)