@@ -31,11 +31,11 @@ jobs:
3131
3232 - name : Build SDL
3333 run : |
34- wget https://github.com/libsdl-org/SDL/archive/refs/tags/ release-2.32.8 .tar.gz
35- tar xvfz release-2.32.8 .tar.gz
34+ wget https://github.com/libsdl-org/SDL/releases/download/ release-3.2.28/SDL3-3.2.28 .tar.gz
35+ tar xvfz SDL3-3.2.28 .tar.gz
3636 mkdir build
3737 cd build
38- cmake ../SDL-release-2.32.8 -DSDL_SHARED=OFF -DSDL_STATIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release
38+ cmake ../SDL3-3.2.28 -DSDL_SHARED=OFF -DSDL_STATIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release -DSDL_VULKAN=OFF
3939 cmake --build . --config Release
4040 sudo cmake --install .
4141
@@ -137,11 +137,11 @@ jobs:
137137
138138 - name : Build SDL
139139 run : |
140- wget https://github.com/libsdl-org/SDL/archive/refs/tags/ release-2.32.8 .tar.gz
141- tar xvfz release-2.32.8 .tar.gz
140+ wget https://github.com/libsdl-org/SDL/releases/download/ release-3.2.28/SDL3-3.2.28 .tar.gz
141+ tar xvfz SDL3-3.2.28 .tar.gz
142142 mkdir build
143143 cd build
144- cmake ../SDL-release-2.32.8 -DSDL_SHARED=OFF -DSDL_STATIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release
144+ cmake ../SDL3-3.2.28 -DSDL_SHARED=OFF -DSDL_STATIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release -DSDL_VULKAN=OFF
145145 cmake --build . --config Release
146146 sudo cmake --install .
147147
@@ -440,11 +440,11 @@ jobs:
440440
441441 - name : Build SDL
442442 run : |
443- wget https://github.com/libsdl-org/SDL/archive/refs/tags/ release-2.32.8 .tar.gz
444- tar xvfz release-2.32.8 .tar.gz
443+ wget https://github.com/libsdl-org/SDL/releases/download/ release-3.2.28/SDL3-3.2.28 .tar.gz
444+ tar xvfz SDL3-3.2.28 .tar.gz
445445 mkdir build
446446 cd build
447- cmake ../SDL-release-2.32.8 -DSDL_SHARED=OFF -DSDL_STATIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release
447+ cmake ../SDL3-3.2.28 -DSDL_SHARED=OFF -DSDL_STATIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release -DSDL_VULKAN=OFF
448448 cmake --build . --config Release
449449 sudo cmake --install .
450450
@@ -545,17 +545,17 @@ jobs:
545545 with :
546546 submodules : recursive
547547
548- - name : Download SDL2
549- run : curl -L -o SDL2 .zip https://github.com/libsdl-org/SDL/releases/download/release-2.30.8/SDL2 -devel-2.30.8 -VC.zip
548+ - name : Download SDL3
549+ run : curl -L -o SDL3 .zip https://github.com/libsdl-org/SDL/releases/download/prerelease-3.3.4/SDL3 -devel-3.3.4 -VC.zip
550550
551551 - name : Create extraction directory
552- run : mkdir ${{ runner.temp }}\SDL2
552+ run : mkdir ${{ runner.temp }}\SDL3
553553
554- - name : Unzip SDL2
555- run : tar -xf SDL2 .zip -C ${{ runner.temp }}\SDL2 --strip-components=1
554+ - name : Unzip SDL3
555+ run : tar -xf SDL3 .zip -C ${{ runner.temp }}\SDL3 --strip-components=1
556556
557- - name : Set SDL2_DIR environment variable
558- run : echo SDL2_DIR =${{ runner.temp }}\SDL2 \cmake >> $env:GITHUB_ENV
557+ - name : Set SDL3_DIR environment variable
558+ run : echo SDL3_DIR =${{ runner.temp }}\SDL3 \cmake >> $env:GITHUB_ENV
559559
560560 - name : Setup Python
561561 uses : actions/setup-python@v5
@@ -588,8 +588,8 @@ jobs:
588588 env :
589589 RAYLIB_PLATFORM : ${{ matrix.raylib-platform }}
590590 run : |
591- copy ${{ runner.temp }}\SDL2 \lib\x64\SDL2 .lib .
592- copy ${{ runner.temp }}\SDL2 \lib\x64\SDL2 .dll raylib\
591+ copy ${{ runner.temp }}\SDL3 \lib\x64\SDL3 .lib .
592+ copy ${{ runner.temp }}\SDL3 \lib\x64\SDL3 .dll raylib\
593593 python -m pip install --upgrade pip
594594 pip3 install --upgrade "cffi"
595595 pip3 install --upgrade wheel
@@ -637,17 +637,17 @@ jobs:
637637 with :
638638 submodules : recursive
639639
640- - name : Download SDL2
641- run : curl -L -o SDL2 .zip https://github.com/libsdl-org/SDL/releases/download/release-2.32.10/SDL2 -devel-2.32.10 -VC.zip
640+ - name : Download SDL3
641+ run : curl -L -o SDL3 .zip https://github.com/libsdl-org/SDL/releases/download/prerelease-3.3.4/SDL3 -devel-3.3.4 -VC.zip
642642
643643 - name : Create extraction directory
644- run : mkdir ${{ runner.temp }}\SDL2
644+ run : mkdir ${{ runner.temp }}\SDL3
645645
646- - name : Unzip SDL2
647- run : tar -xf SDL2 .zip -C ${{ runner.temp }}\SDL2 --strip-components=1
646+ - name : Unzip SDL3
647+ run : tar -xf SDL3 .zip -C ${{ runner.temp }}\SDL3 --strip-components=1
648648
649- - name : Set SDL2_DIR environment variable
650- run : echo SDL2_DIR =${{ runner.temp }}\SDL2 \cmake >> $env:GITHUB_ENV
649+ - name : Set SDL3_DIR environment variable
650+ run : echo SDL3_DIR =${{ runner.temp }}\SDL3 \cmake >> $env:GITHUB_ENV
651651
652652 - name : Setup Python
653653 uses : actions/setup-python@v5
@@ -682,8 +682,8 @@ jobs:
682682 env :
683683 RAYLIB_PLATFORM : ${{ matrix.raylib-platform }}
684684 run : |
685- copy ${{ runner.temp }}\SDL2 \lib\x86\SDL2 .lib .
686- copy ${{ runner.temp }}\SDL2 \lib\x86\SDL2 .dll raylib\
685+ copy ${{ runner.temp }}\SDL3 \lib\x86\SDL3 .lib .
686+ copy ${{ runner.temp }}\SDL3 \lib\x86\SDL3 .dll raylib\
687687 python -m pip install --upgrade pip
688688 pip3 install --upgrade "cffi"
689689 pip3 install --upgrade wheel
0 commit comments