add python 3.12 and pypy 3.10 to builds
This commit is contained in:
parent
ef20eaf7c9
commit
3b01e59338
3 changed files with 16 additions and 9 deletions
12
.cirrus.yml
12
.cirrus.yml
|
@ -1,18 +1,20 @@
|
||||||
#container:
|
#container:
|
||||||
# image: python:3.11
|
# image: python:3.11
|
||||||
|
|
||||||
|
# download at https://api.cirrus-ci.com/v1/artifact/github/electronstudio/raylib-python-cffi/main/binary.zip
|
||||||
|
|
||||||
task:
|
task:
|
||||||
macos_instance:
|
macos_instance:
|
||||||
matrix:
|
matrix:
|
||||||
- image: ghcr.io/cirruslabs/macos-monterey-xcode:latest
|
- image: ghcr.io/cirruslabs/macos-monterey-xcode:latest
|
||||||
- image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
|
- image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
|
||||||
|
- image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- PY_VER: "3.9"
|
- PY_VER: "3.9"
|
||||||
- PY_VER: "3.10"
|
- PY_VER: "3.10"
|
||||||
- PY_VER: "3.11"
|
- PY_VER: "3.11"
|
||||||
|
- PY_VER: "3.12"
|
||||||
setup_script:
|
setup_script:
|
||||||
- brew update
|
- brew update
|
||||||
- brew install python@${PY_VER}
|
- brew install python@${PY_VER}
|
||||||
|
@ -27,10 +29,10 @@ task:
|
||||||
build_script:
|
build_script:
|
||||||
- sudo cp physac/src/physac.h /usr/local/include/
|
- sudo cp physac/src/physac.h /usr/local/include/
|
||||||
- sudo cp raygui/src/raygui.h /usr/local/include/
|
- sudo cp raygui/src/raygui.h /usr/local/include/
|
||||||
- /opt/homebrew/bin/python${PY_VER} -m pip install --upgrade pip
|
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages --upgrade pip
|
||||||
- /opt/homebrew/bin/python${PY_VER} -m pip install cffi
|
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages cffi
|
||||||
- /opt/homebrew/bin/python${PY_VER} -m pip install setuptools
|
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages setuptools
|
||||||
- /opt/homebrew/bin/python${PY_VER} -m pip install wheel
|
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages wheel
|
||||||
- /opt/homebrew/bin/python${PY_VER} setup.py bdist_wheel
|
- /opt/homebrew/bin/python${PY_VER} setup.py bdist_wheel
|
||||||
artifacts:
|
artifacts:
|
||||||
path: "dist/*"
|
path: "dist/*"
|
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
|
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10' ]
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -52,6 +52,7 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip3 install cffi
|
pip3 install cffi
|
||||||
pip3 install wheel
|
pip3 install wheel
|
||||||
|
pip3 install setuptools
|
||||||
python setup.py bdist_wheel --plat-name macosx_10_15_x86_64
|
python setup.py bdist_wheel --plat-name macosx_10_15_x86_64
|
||||||
|
|
||||||
- name: Upload build Artifact wheel
|
- name: Upload build Artifact wheel
|
||||||
|
@ -164,7 +165,7 @@ jobs:
|
||||||
# You can use PyPy versions in python-version.
|
# You can use PyPy versions in python-version.
|
||||||
# For example, pypy2 and pypy3
|
# For example, pypy2 and pypy3
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
|
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10' ]
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -199,6 +200,7 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip3 install cffi
|
pip3 install cffi
|
||||||
pip3 install wheel
|
pip3 install wheel
|
||||||
|
pip3 install setuptools
|
||||||
python setup.py bdist_wheel --plat-name manylinux2014_x86_64
|
python setup.py bdist_wheel --plat-name manylinux2014_x86_64
|
||||||
|
|
||||||
- name: Upload build Artifact wheel
|
- name: Upload build Artifact wheel
|
||||||
|
@ -246,7 +248,7 @@ jobs:
|
||||||
# You can use PyPy versions in python-version.
|
# You can use PyPy versions in python-version.
|
||||||
# For example, pypy2 and pypy3
|
# For example, pypy2 and pypy3
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
|
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10' ]
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -280,6 +282,7 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip3 install cffi
|
pip3 install cffi
|
||||||
pip3 install wheel
|
pip3 install wheel
|
||||||
|
pip3 install setuptools
|
||||||
del raylib\dynamic\*.so* >nul 2>&1
|
del raylib\dynamic\*.so* >nul 2>&1
|
||||||
del raylib\dynamic\*.dll >nul 2>&1
|
del raylib\dynamic\*.dll >nul 2>&1
|
||||||
del raylib\dynamic\*.dylib >nul 2>&1
|
del raylib\dynamic\*.dylib >nul 2>&1
|
||||||
|
@ -330,6 +333,7 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip3 install cffi
|
pip3 install cffi
|
||||||
pip3 install wheel
|
pip3 install wheel
|
||||||
|
pip3 install setuptools
|
||||||
python setup.py sdist
|
python setup.py sdist
|
||||||
|
|
||||||
- name: Upload build Artifact wheel
|
- name: Upload build Artifact wheel
|
||||||
|
@ -360,6 +364,7 @@ jobs:
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip3 install cffi
|
pip3 install cffi
|
||||||
pip3 install wheel
|
pip3 install wheel
|
||||||
|
pip3 install setuptools
|
||||||
cd dynamic
|
cd dynamic
|
||||||
python setup.py sdist
|
python setup.py sdist
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__version__ = "4.5.0.0"
|
__version__ = "4.5.0.1"
|
Reference in a new issue