Moving to SDL2 2.0.2
@@ -16,12 +16,13 @@ jobs:
uses: actions/checkout@v2.0.0
- run:
- curl -L https://www.libsdl.org/release/SDL2-2.0.1.tar.gz -o SDL2-2.0.1.tar.gz ;
- tar -zxvf SDL2-2.0.1.tar.gz ;
- cd SDL2-2.0.1 ;
+ export SDL_NAME=SDL2-2.0.2
+ curl -L https://www.libsdl.org/release/$SDL_NAME.tar.gz -o $SDL_NAME.tar.gz ;
+ tar -zxvf $SDL_NAME.tar.gz ;
+ cd $SDL_NAME ;
mkdir build ;
cd build ;
- CC=$GITHUB_WORKSPACE/SDL2-2.0.1/build-scripts/gcc-fat.sh ;
+ CC=$GITHUB_WORKSPACE/$SDL_NAME/build-scripts/gcc-fat.sh ;
../configure ;
make ;
make install
