Skip to content

Commit

Permalink
deps: update sdl to version 2.30.0
Browse files Browse the repository at this point in the history
vcpkg is no longer required to build sdl for uwp
  • Loading branch information
scribam authored and flyinghead committed Feb 3, 2024
1 parent 51d25bb commit be8c559
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/uwp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,15 @@ jobs:
build:
runs-on: windows-latest

env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/vcpkg/bincache

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true

- name: bootstrap vcpkg
run: |
git clone https://github.com/microsoft/vcpkg
mkdir vcpkg\bincache
vcpkg\bootstrap-vcpkg.bat
- uses: actions/cache@v4
with:
path: ${{ env.VCPKG_DEFAULT_BINARY_CACHE }}
key: vcpkg-${{ hashFiles( 'vcpkg.json' ) }}

- name: CMake
run: |
cmake -B build -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0.22000.0 -DCMAKE_TOOLCHAIN_FILE=%VCPKG_ROOT%\scripts\buildsystems\vcpkg.cmake
cmake -B build -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0.22000.0
cmake --build build --config Release --parallel 2
shell: cmd

Expand Down
2 changes: 1 addition & 1 deletion core/deps/SDL
Submodule SDL updated 1208 files
7 changes: 0 additions & 7 deletions vcpkg.json

This file was deleted.

0 comments on commit be8c559

Please sign in to comment.