Skip to content

Commit 1de8343

Browse files
committed
Use action to install
1 parent 86e9236 commit 1de8343

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,21 @@ on:
1212

1313
jobs:
1414
visual-studio:
15-
timeout-minutes: 60
15+
timeout-minutes: 180
1616
runs-on: windows-latest
1717
name: Visual Studio
1818
steps:
19+
# - uses: lukka/get-cmake@latest
1920
- uses: actions/checkout@v3
21+
- name: Install vcpkg deps
22+
uses: lukka/run-vcpkg@v11
23+
with:
24+
vcpkgGitCommitId: "8eb57355a4ffb410a2e94c07b4dca2dffbee8e50" # "2023.10.19"
25+
runVcpkgInstall: true
2026
- uses: ilammy/msvc-dev-cmd@v1
21-
- name: Install vcpkg dependencies
22-
run: |
23-
vcpkg install --triplet x64-windows gtkmm plplot pkgconf
27+
# - name: Install vcpkg dependencies
28+
# run: |
29+
# vcpkg install --triplet x64-windows gtkmm plplot pkgconf
2430
- name: Build with meson
2531
run: |
2632
# set PKG_CONFIG_PATH to allow pkgconf to find the pkg-config files

vcpkg.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
3+
"dependencies": [
4+
"boost-multi-array",
5+
"plplot",
6+
"gtkmm"
7+
]
8+
}

0 commit comments

Comments
 (0)