Skip to content

Commit 5bbe251

Browse files
committed
vcpkg fix
1 parent 61e1c53 commit 5bbe251

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,7 @@ jobs:
107107
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
108108
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
109109
110-
- name: Install dependencies with vcpkg
111-
run: |
112-
vcpkg install zlib:x64-windows
113-
vcpkg install bzip2:x64-windows
114-
vcpkg install liblzma:x64-windows
115-
vcpkg install zstd:x64-windows
116-
vcpkg install libarchive:x64-windows
117-
110+
# Dependencies are declared in vcpkg.json and installed automatically by CMake
118111
- name: Configure CMake
119112
run: |
120113
cmake -B build -S . `

vcpkg.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
3+
"name": "streamlib",
4+
"version": "0.1.0",
5+
"dependencies": [
6+
"zlib",
7+
"bzip2",
8+
"liblzma",
9+
"zstd",
10+
"libarchive"
11+
]
12+
}

0 commit comments

Comments
 (0)