8000 use cargo-vcpkg · RustPython/RustPython@7b77f1a · GitHub
[go: up one dir, main page]

Skip to content

Commit 7b77f1a

Browse files
committed
use cargo-vcpkg
1 parent 610ec2a commit 7b77f1a

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,10 @@ jobs:
124124
with:
125125
components: clippy
126126
- name: Set up the Windows environment
127-
uses: lukka/run-vcpkg@v11
128-
with:
129-
# https://github.com/microsoft/vcpkg/tags
130-
vcpkgGitCommitId: fba75d09065fcc76a25dcf386b1d00d33f5175af
131-
runVcpkgInstall: true
127+
shell: bash
128+
run: |
129+
cargo install cargo-vcpkg
130+
cargo vcpkg build
132131
133132
if: runner.os == 'Windows'
134133
- name: Set up the Mac environment

Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,12 @@ lto = "thin"
151151
[patch.crates-io]
152152
# REDOX START, Uncomment when you want to compile/check with redoxer
153153
# REDOX END
154+
155+
156+
[package.metadata.vcpkg]
157+
git = "https://github.com/microsoft/vcpkg"
158+
# https://github.com/microsoft/vcpkg/tags
159+
rev = "2024.02.14"
160+
161+
[package.metadata.vcpkg.target]
162+
x86_64-pc-windows-msvc = { dev-dependencies = ["openssl" ] }

stdlib/vcpkg.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0