Skip to content

.github/workflows/windows.yml - fix use of vcpkg.json #11005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ jobs:
${{ runner.os }}-vcpkg-installed-${{ env.OS_VER }}-
${{ runner.os }}-vcpkg-installed-

- name: Install libraries with vcpkg
run: |
vcpkg --triplet x64-windows install gmp libffi libyaml openssl zlib

- name: Install libraries with scoop
run: |
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
Expand All @@ -128,6 +124,17 @@ jobs:
sparse-checkout-cone-mode: false
sparse-checkout: /.github

- name: Install libraries with vcpkg
# override global setting of 'build', vcpkg.json is in root
working-directory: .
run: |
vcpkg --triplet x64-windows install gmp libffi libyaml openssl zlib
vcpkg --triplet x64-windows upgrade gmp libffi libyaml openssl zlib --no-dry-run

- name: List vcpkg libraries
working-directory: .
run: vcpkg list

- uses: ./.github/actions/setup/directories
with:
srcdir: src
Expand Down