Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add visual studio CI tests #56

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 24 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,31 @@ on:
- master

jobs:
# visual-studio:
# timeout-minutes: 60
# runs-on: windows-latest
visual-studio:
timeout-minutes: 180
runs-on: windows-latest
name: Visual Studio
steps:
# - uses: lukka/get-cmake@latest
- uses: actions/checkout@v3
- name: Install vcpkg deps
uses: lukka/run-vcpkg@v11
with:
vcpkgGitCommitId: "c8696863d371ab7f46e213d8f5ca923c4aef2a00" # "2023.10.19"
runVcpkgInstall: true
- uses: ilammy/msvc-dev-cmd@v1
# - name: Install vcpkg dependencies
# run: |
# vcpkg install --triplet x64-windows gtkmm plplot pkgconf
- name: Build with meson
run: |
# set PKG_CONFIG_PATH to allow pkgconf to find the pkg-config files
$Env:PKG_CONFIG_PATH = "C:\vcpkg\installed\x64-windows\lib\pkgconfig"

# steps:
# - uses: actions/checkout@v4
# - name: Setup python
# uses: actions/setup-python@v1
# with:
# python-version: 3.8
# - uses: ilammy/msvc-dev-cmd@v1
# - uses: BSFishy/[email protected]
# with:
# action: test
# setup-options: -Dwith-fortran=false
meson setup meson-build --buildtype=release
meson compile -C meson-build
env:
PKG_CONFIG: C:\vcpkg\installed\x64-windows\tools\pkgconf\pkgconf.exe

macos:
timeout-minutes: 60
Expand Down
8 changes: 8 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"boost-multi-array",
"plplot",
"gtkmm"
]
}
Loading