File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,21 +45,24 @@ jobs:
4545 with :
4646 submodules : recursive
4747
48- - name : Set up vcpkg
48+ # Simplified vcpkg setup that should work more reliably
49+ - name : Install vcpkg
4950 uses : lukka/run-vcpkg@v11
5051 with :
5152 vcpkgGitCommitId : 5568f110b509a9fd90711978a7cb76bae75bb092
53+ setupOnly : true
5254
5355 - name : Install SDL2
5456 run : |
55- vcpkg install sdl2:x64-windows
57+ $VCPKG_ROOT/vcpkg install sdl2:x64-windows
58+ shell : bash
5659
5760 - name : Configure
5861 shell : powershell
5962 run : |
6063 mkdir build
6164 cd build
62- cmake .. -DCMAKE_TOOLCHAIN_FILE=$env:VCPKG_INSTALLATION_ROOT /scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_HEADLESS_TESTS=ON
65+ cmake .. -DCMAKE_TOOLCHAIN_FILE=" $env:VCPKG_ROOT /scripts/buildsystems/vcpkg.cmake" -DCMAKE_BUILD_TYPE=Release -DBUILD_HEADLESS_TESTS=ON
6366
6467 - name : Build
6568 shell : powershell
You can’t perform that action at this time.
0 commit comments