File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -45,21 +45,26 @@ jobs:
4545 with:
4646 submodules: recursive
4747
48- - name: Set up vcpkg
49- uses: lukka/run-vcpkg@v11
50- with:
51- vcpkgGitCommitId: 5568f110b509a9fd90711978a7cb76bae75bb092
48+ # Direct vcpkg installation without using the action
49+ - name: Clone vcpkg
50+ run: |
51+ git clone https://github.com/Microsoft/vcpkg.git
52+ cd vcpkg
53+ git checkout 5568f110b509a9fd90711978a7cb76bae75bb092
54+ .\bootstrap-vcpkg.bat
55+ shell: cmd
5256
5357 - name: Install SDL2
5458 run: |
55- vcpkg install sdl2:x64-windows
59+ .\vcpkg\vcpkg.exe install sdl2:x64-windows
60+ shell: cmd
5661
5762 - name: Configure
5863 shell: powershell
5964 run: |
6065 mkdir build
6166 cd build
62- cmake .. -DCMAKE_TOOLCHAIN_FILE=$env:VCPKG_INSTALLATION_ROOT/ scripts/ buildsystems/ vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_HEADLESS_TESTS=ON
67+ cmake .. -DCMAKE_TOOLCHAIN_FILE="$pwd\..\vcpkg\ scripts\ buildsystems\ vcpkg.cmake" -DCMAKE_BUILD_TYPE=Release -DBUILD_HEADLESS_TESTS=ON
6368
6469 - name: Build
6570 shell: powershell
You can’t perform that action at this time.
0 commit comments