Skip to content

Commit e7b9864

Browse files
committed
See if we can get msvc builds working.
1 parent 29341b2 commit e7b9864

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/testing.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,20 @@ jobs:
4343
include:
4444
- os: ubuntu-latest
4545
preset: linux-debug
46+
ruby: '4.0'
4647
- os: macos-latest
4748
preset: macos-debug
49+
ruby: '4.0'
4850
- os: windows-2025
4951
preset: msvc-debug
52+
ruby: mswin
5053
runs-on: ${{ matrix.os }}
5154
steps:
5255
- uses: actions/checkout@v6
5356
- name: Set up Ruby
5457
uses: ruby/setup-ruby@v1
5558
with:
56-
ruby-version: '4.0'
59+
ruby-version: ${{ matrix.ruby }}
5760
- name: Install libffi (Ubuntu)
5861
if: runner.os == 'Linux'
5962
run: sudo apt-get install -y libffi-dev
@@ -63,6 +66,9 @@ jobs:
6366
- name: Install libffi (Windows)
6467
if: runner.os == 'Windows'
6568
run: vcpkg install libffi:x64-windows
69+
- name: Set up MSVC
70+
if: runner.os == 'Windows'
71+
uses: ilammy/msvc-dev-cmd@v1
6672
- name: Configure
6773
run: cmake --preset ${{ matrix.preset }} -DCMAKE_CXX_STANDARD=${{ matrix.cpp_standard }}
6874
- name: Build

0 commit comments

Comments
 (0)