Skip to content

Commit 72b1a24

Browse files
committed
ci: install vcpkg
1 parent 5944bd5 commit 72b1a24

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,16 @@ jobs:
3333
run: |
3434
apt --quiet update --yes
3535
apt --quiet install --yes cmake git
36+
- name: install vcpkg
37+
run: |
38+
git clone https://github.com/microsoft/vcpkg.git vcpkg-installation
39+
(cd vcpkg-installation; ./bootstrap-vcpkg.sh)
40+
- name: set VCPKG_ROOT
41+
uses: myci-actions/export-env-var@main
42+
with: {name: VCPKG_ROOT, value: "$(pwd)/vcpkg-installation"}
3643
- name: git clone
3744
uses: myci-actions/checkout@main
38-
- name: generate cmake
45+
- name: generate cmake build files
3946
run: |
4047
mkdir out
4148
cd out

0 commit comments

Comments
 (0)