File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,27 @@ jobs:
1313 - { name: Windows, os: windows-2025 }
1414 - { name: MacOS, os: macos-latest }
1515 steps :
16- - name : Set up SDL
17- id : sdl
18- uses : libsdl-org/setup-sdl@v1
19- with :
20- version : sdl3-latest
2116 - name : Set up Linux dependencies
2217 if : ${{ runner.os == 'Linux' }}
2318 run : |
2419 sudo apt-get update
2520 sudo apt-get -y install cmake libasound2-dev
21+ - name : Set up MSVC toolchain
22+ uses : ilammy/msvc-dev-cmd@v1
23+ if : ${{ matrix.platform.name == 'Windows' }}
24+ with :
25+ arch : x64
26+ - name : Set up ninja
27+ uses : ./.github/actions/setup-ninja
28+ - name : Set up SDL
29+ id : sdl
30+ uses : libsdl-org/setup-sdl@v1
31+ with :
32+ version : sdl3-latest
33+ cmake-generator : Ninja
2634 - name : Get SDL_native_midi sources
2735 uses : actions/checkout@v4
2836 - name : Configure CMake
29- run : cmake -B build ${{ matrix.platform.flags }}
37+ run : cmake -B build -G Ninja ${{ matrix.platform.flags }}
3038 - name : Build
3139 run : cmake --build build/
You can’t perform that action at this time.
0 commit comments