Update SDL to 2.30.11, use GitHub links for SDL, as it might be faster on Actions virtual machines

This commit is contained in:
Alibek Omarov 2025-01-08 09:37:32 +03:00
parent b45581c630
commit 80bac157eb
3 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@ jobs:
targetos: apple targetos: apple
targetarch: amd64 targetarch: amd64
env: env:
SDL_VERSION: 2.30.10 SDL_VERSION: 2.30.11
GH_CPU_ARCH: ${{ matrix.targetarch }} GH_CPU_ARCH: ${{ matrix.targetarch }}
GH_CROSSCOMPILING: ${{ matrix.cross }} GH_CROSSCOMPILING: ${{ matrix.cross }}
steps: steps:

View file

@ -2,7 +2,7 @@
cd $GITHUB_WORKSPACE 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 hdiutil mount SDL2.dmg
sudo cp -vr /Volumes/SDL2/SDL2.framework /Library/Frameworks sudo cp -vr /Volumes/SDL2/SDL2.framework /Library/Frameworks

View file

@ -1,5 +1,5 @@
#!/bin/bash #!/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 unzip -q SDL2.zip
mv SDL2-$SDL_VERSION SDL2_VC mv SDL2-$SDL_VERSION SDL2_VC