From 80bac157eb3609d373d48ede3bdbd4f4404e60f4 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 8 Jan 2025 09:37:32 +0300 Subject: [PATCH] Update SDL to 2.30.11, use GitHub links for SDL, as it might be faster on Actions virtual machines --- .github/workflows/c-cpp.yml | 2 +- scripts/gha/deps_apple.sh | 2 +- scripts/gha/deps_win32.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 459037f49e..4167fd7990 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -66,7 +66,7 @@ jobs: targetos: apple targetarch: amd64 env: - SDL_VERSION: 2.30.10 + SDL_VERSION: 2.30.11 GH_CPU_ARCH: ${{ matrix.targetarch }} GH_CROSSCOMPILING: ${{ matrix.cross }} steps: diff --git a/scripts/gha/deps_apple.sh b/scripts/gha/deps_apple.sh index 30efcfa469..29e86094b7 100755 --- a/scripts/gha/deps_apple.sh +++ b/scripts/gha/deps_apple.sh @@ -2,7 +2,7 @@ cd $GITHUB_WORKSPACE -wget http://libsdl.org/release/SDL2-$SDL_VERSION.dmg -O SDL2.dmg +wget https://github.com/libsdl-org/SDL/releases/download/release-$SDL_VERSION/SDL2-$SDL_VERSION.dmg -O SDL2.dmg hdiutil mount SDL2.dmg sudo cp -vr /Volumes/SDL2/SDL2.framework /Library/Frameworks diff --git a/scripts/gha/deps_win32.sh b/scripts/gha/deps_win32.sh index f73c47ea9f..2078aa62ba 100755 --- a/scripts/gha/deps_win32.sh +++ b/scripts/gha/deps_win32.sh @@ -1,5 +1,5 @@ #!/bin/bash -curl http://libsdl.org/release/SDL2-devel-$SDL_VERSION-VC.zip -o SDL2.zip +curl -L https://github.com/libsdl-org/SDL/releases/download/release-$SDL_VERSION/SDL2-devel-$SDL_VERSION-VC.zip -o SDL2.zip unzip -q SDL2.zip mv SDL2-$SDL_VERSION SDL2_VC