File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
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
You can’t perform that action at this time.
0 commit comments