We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5c8b5a commit ee49f8fCopy full SHA for ee49f8f
1 file changed
.github/workflows/ci.yml
@@ -28,8 +28,19 @@ jobs:
28
29
- name: Install dependencies (Windows)
30
if: runner.os == 'Windows'
31
+ uses: lukka/run-vcpkg@v11
32
+ with:
33
+ vcpkgGitCommitId: "a34c873a9717a888f58dc05268dea15592c2f0ff"
34
+
35
+ - name: Install SDL2 packages (Windows)
36
+ if: runner.os == 'Windows'
37
+ run: vcpkg install sdl2 sdl2-image sdl2-gfx sdl2-ttf sdl2-mixer --triplet x64-windows
38
39
+ - name: Build
40
run: |
- vcpkg install sdl2 sdl2-image sdl2-gfx sdl2-ttf sdl2-mixer
41
+ cmake -B build -DCMAKE_BUILD_TYPE=Release \
42
+ ${{ runner.os == 'Windows' && '-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake' || '' }}
43
+ cmake --build build
44
45
- name: Build
46
0 commit comments