Skip to content

Commit

Permalink
chore: Bump SDL version used in CI and in Releases
Browse files Browse the repository at this point in the history
  • Loading branch information
pktiuk committed Jul 2, 2024
1 parent 5de8c25 commit 80ccb8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ jobs:
- name: Install sdl2 (mingw-w64)
if: startsWith(matrix.shell, 'msys2')
run: |
curl -L -o mingw-w64-x86_64-SDL2-2.30.1-1-any.pkg.tar.zst https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-SDL2-2.30.1-1-any.pkg.tar.zst
pacman --noconfirm -U mingw-w64-x86_64-SDL2-2.30.1-1-any.pkg.tar.zst
curl -L -o mingw-w64-x86_64-SDL2-2.30.4-1-any.pkg.tar.zst https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-SDL2-2.30.4-1-any.pkg.tar.zst
pacman --noconfirm -U mingw-w64-x86_64-SDL2-2.30.4-1-any.pkg.tar.zst
- name: Install sdl2 (msvc)
if: startsWith(matrix.shell, 'cmd')
run: |
curl -L -o SDL2-devel-2.30.1-VC.zip https://github.com/libsdl-org/SDL/releases/download/release-2.30.1/SDL2-devel-2.30.1-VC.zip
unzip SDL2-devel-2.30.1-VC.zip
mv "${{ github.workspace }}/SDL2-2.30.1" "${{ github.workspace }}/sdl2"
curl -L -o SDL2-devel-2.30.4-VC.zip https://github.com/libsdl-org/SDL/releases/download/release-2.30.4/SDL2-devel-2.30.4-VC.zip
unzip SDL2-devel-2.30.4-VC.zip
mv "${{ github.workspace }}/SDL2-2.30.4" "${{ github.workspace }}/sdl2"
mklink /J "${{ github.workspace }}\sdl2\SDL2" "${{ github.workspace }}\sdl2\include"
- name: Install MSVC
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.30.1
git clone https://github.com/libsdl-org/SDL.git -b release-2.30.4
cd SDL
mkdir build
cd build
Expand Down Expand Up @@ -154,8 +154,8 @@ jobs:
# SDL2 version for release locked
- name: Install sdl2
run: |
curl -L -o mingw-w64-x86_64-SDL2-2.30.1-1-any.pkg.tar.zst https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-SDL2-2.30.1-1-any.pkg.tar.zst
pacman --noconfirm -U mingw-w64-x86_64-SDL2-2.30.1-1-any.pkg.tar.zst
curl -L -o mingw-w64-x86_64-SDL2-2.30.4-1-any.pkg.tar.zst https://mirror.msys2.org/mingw/mingw64/mingw-w64-x86_64-SDL2-2.30.4-1-any.pkg.tar.zst
pacman --noconfirm -U mingw-w64-x86_64-SDL2-2.30.4-1-any.pkg.tar.zst
- name: Install Qt
uses: jurplel/install-qt-action@v3
Expand Down

0 comments on commit 80ccb8d

Please sign in to comment.