Skip to content

Commit 86e9236

Browse files
committed
Add visual studio CI tests
1 parent c51d5df commit 86e9236

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,25 @@ on:
1111
- master
1212

1313
jobs:
14-
# visual-studio:
15-
# timeout-minutes: 60
16-
# runs-on: windows-latest
14+
visual-studio:
15+
timeout-minutes: 60
16+
runs-on: windows-latest
17+
name: Visual Studio
18+
steps:
19+
- uses: actions/checkout@v3
20+
- uses: ilammy/msvc-dev-cmd@v1
21+
- name: Install vcpkg dependencies
22+
run: |
23+
vcpkg install --triplet x64-windows gtkmm plplot pkgconf
24+
- name: Build with meson
25+
run: |
26+
# set PKG_CONFIG_PATH to allow pkgconf to find the pkg-config files
27+
$Env:PKG_CONFIG_PATH = "C:\vcpkg\installed\x64-windows\lib\pkgconfig"
1728
18-
# steps:
19-
# - uses: actions/checkout@v4
20-
# - name: Setup python
21-
# uses: actions/setup-python@v1
22-
# with:
23-
# python-version: 3.8
24-
# - uses: ilammy/msvc-dev-cmd@v1
25-
# - uses: BSFishy/meson-build@v1.0.1
26-
# with:
27-
# action: test
28-
# setup-options: -Dwith-fortran=false
29+
meson setup meson-build --buildtype=release
30+
meson compile -C meson-build
31+
env:
32+
PKG_CONFIG: C:\vcpkg\installed\x64-windows\tools\pkgconf\pkgconf.exe
2933

3034
macos:
3135
timeout-minutes: 60

0 commit comments

Comments
 (0)