@@ -197,7 +197,7 @@ jobs:
197197 # You can use PyPy versions in python-version.
198198 # For example, pypy2 and pypy3
199199 matrix :
200- python-version : ['3 .10', '3 .11', '3 .12', '3 .13', '3.14.0-rc.1', 'pypy-3. 10', 'pypy-3 .11' ]
200+ python-version : ['python3 .10', 'python3 .11', 'python3 .12', 'python3 .13', 'pypy3. 10', 'pypy3 .11']
201201 raylib-platform : ['Desktop', 'SDL', 'DRM']
202202 steps :
203203 - name : fix node
@@ -212,24 +212,6 @@ jobs:
212212 run : |
213213 patch -p0 <raygui.h.diff
214214
215- - name : Setup Python
216- uses : actions/setup-python@v5
217- with :
218- # Version range or exact version of a Python version to use, using SemVer's version range syntax.
219- python-version : ${{ matrix.python-version }}
220- # The target architecture (x86, x64) of the Python interpreter.
221- architecture : x64
222-
223- - name : Build SDL
224- run : |
225- wget https://github.com/libsdl-org/SDL/archive/refs/tags/release-2.32.8.tar.gz
226- tar xvfz release-2.32.8.tar.gz
227- mkdir build
228- cd build
229- cmake ../SDL-release-2.32.8 -DSDL_SHARED=OFF -DSDL_STATIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=Release
230- cmake --build . --config Release
231- cmake --install .
232-
233215 # Runs a set of commands using the runners shell
234216 - name : Build raylib
235217 run : |
@@ -248,16 +230,16 @@ jobs:
248230 env :
249231 RAYLIB_PLATFORM : ${{ matrix.raylib-platform }}
250232 run : |
251- python -m pip install --upgrade pip
252- pip3 install --upgrade "cffi>=1.17.1"
253- pip3 install --upgrade wheel
254- pip3 install --upgrade setuptools
255- python setup.py bdist_wheel --plat-name manylinux2014_x86_64
233+ ${{ matrix. python-version }} -m pip install --upgrade pip
234+ ${{ matrix.python-version }} -m pip install --upgrade "cffi>=1.17.1"
235+ ${{ matrix.python-version }} -m pip --upgrade wheel
236+ ${{ matrix.python-version }} -m pip --upgrade setuptools
237+ ${{ matrix. python-version }} setup.py bdist_wheel --plat-name manylinux2014_x86_64
256238 - name : Test
257239 run : |
258- pip3 install dist/*.whl
240+ ${{ matrix.python-version }} -m pip install dist/*.whl
259241 cd /
260- python3 -c 'import pyray; pyray.init_window(100,100,"test")' >/tmp/output 2>&1 || true
242+ ${{ matrix.python-version }} -c 'import pyray; pyray.init_window(100,100,"test")' >/tmp/output 2>&1 || true
261243 cat /tmp/output
262244 if grep -q "INFO: Initializing raylib" /tmp/output; then
263245 echo "Passed"
@@ -266,7 +248,7 @@ jobs:
266248 echo "Failed"
267249 exit 1
268250 fi
269-
251+
270252
271253 - name : Upload build Artifact wheel
272254 uses : actions/upload-artifact@v4
@@ -275,8 +257,6 @@ jobs:
275257 path : dist/*
276258
277259
278-
279-
280260 build-windows :
281261 # The type of runner that the job will run on
282262 runs-on : windows-2022
0 commit comments