From 4768ddfd7f83483524682ad3f8ddcd2ef830c523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kotiuk?= Date: Sat, 26 Aug 2023 16:36:03 +0200 Subject: [PATCH] chore: bump SDL version to 2.28.2 --- .github/workflows/main.yml | 10 +++++----- .github/workflows/release.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 30ccf916e..825a50f87 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -100,15 +100,15 @@ jobs: - name: Install sdl2 (mingw-w64) if: startsWith(matrix.shell, 'msys2') run: | - curl -L -o mingw-w64-x86_64-SDL2-2.28.0-1-any.pkg.tar.zst https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-SDL2-2.28.0-1-any.pkg.tar.zst - pacman --noconfirm -U mingw-w64-x86_64-SDL2-2.28.0-1-any.pkg.tar.zst + curl -L -o mingw-w64-x86_64-SDL2-2.28.2-1-any.pkg.tar.zst https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-SDL2-2.28.2-1-any.pkg.tar.zst + pacman --noconfirm -U mingw-w64-x86_64-SDL2-2.28.2-1-any.pkg.tar.zst - name: Install sdl2 (msvc) if: startsWith(matrix.shell, 'cmd') run: | - curl -L -o SDL2-devel-2.0.20-VC.zip https://github.com/libsdl-org/SDL/releases/download/release-2.0.20/SDL2-devel-2.0.20-VC.zip - unzip SDL2-devel-2.0.20-VC.zip - mv "${{ github.workspace }}/SDL2-2.0.20" "${{ github.workspace }}/sdl2" + curl -L -o SDL2-devel-2.28.2-VC.zip https://github.com/libsdl-org/SDL/releases/download/release-2.28.2/SDL2-devel-2.28.2-VC.zip + unzip SDL2-devel-2.28.2-VC.zip + mv "${{ github.workspace }}/SDL2-2.28.2" "${{ github.workspace }}/sdl2" mklink /J "${{ github.workspace }}\sdl2\SDL2" "${{ github.workspace }}\sdl2\include" - name: Install MSVC diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87f21221d..3667885e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,7 +60,7 @@ jobs: #Replace original library with the newer one - name: Build and install newer SDL2 run: | - git clone https://github.com/libsdl-org/SDL.git -b release-2.26.5 + git clone https://github.com/libsdl-org/SDL.git -b release-2.28.2 cd SDL mkdir build cd build @@ -154,8 +154,8 @@ jobs: # SDL2 version for release locked - name: Install sdl2 run: | - curl -L -o mingw-w64-x86_64-SDL2-2.28.0-1-any.pkg.tar.zst https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-SDL2-2.28.0-1-any.pkg.tar.zst - pacman --noconfirm -U mingw-w64-x86_64-SDL2-2.28.0-1-any.pkg.tar.zst + curl -L -o mingw-w64-x86_64-SDL2-2.28.2-1-any.pkg.tar.zst https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-SDL2-2.28.2-1-any.pkg.tar.zst + pacman --noconfirm -U mingw-w64-x86_64-SDL2-2.28.2-1-any.pkg.tar.zst - name: Install Qt uses: jurplel/install-qt-action@v3