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

Skip to content

Commit 0c57fd0

Browse files
committed
use cargo-vcpkg
1 parent 610ec2a commit 0c57fd0

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-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 -v build
132131
133132
if: runner.os == 'Windows'
134133
- name: Set up the Mac environment

Cargo.toml

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

stdlib/vcpkg.json

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

0 commit comments

Comments
 (0)
0