File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,29 @@ jobs:
3636 with :
3737 submodules : recursive
3838
39- - name : Configure
40- run : cmake -B build
39+ - name : Install vcpkg and SDL2
40+ run : |
41+ # Clone vcpkg
42+ git clone https://github.com/Microsoft/vcpkg.git
43+ cd vcpkg
44+
45+ # Bootstrap vcpkg
46+ .\bootstrap-vcpkg.bat
47+
48+ # Install SDL2
49+ .\vcpkg install sdl2:x64-windows
50+
51+ # Integrate with Visual Studio
52+ .\vcpkg integrate install
53+
54+ cd ..
55+
56+ - name : Configure with vcpkg
57+ run : |
58+ cmake -B build -DCMAKE_TOOLCHAIN_FILE="$PWD/vcpkg/scripts/buildsystems/vcpkg.cmake"
4159
4260 - name : Build
4361 run : cmake --build build --config Release
4462
4563 - name : Test
46- run : build/bin/Release/RobotCPPSDLTest.exe --ci-mode true
64+ run : build/bin/Release/RobotCPPSDLTest.exe --gtest_filter=-*InteractiveMode -- ci-mode true
You can’t perform that action at this time.
0 commit comments