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:
|
||||
# image: python:3.11
|
||||
|
||||
|
||||
# download at https://api.cirrus-ci.com/v1/artifact/github/electronstudio/raylib-python-cffi/main/binary.zip
|
||||
|
||||
task:
|
||||
macos_instance:
|
||||
matrix:
|
||||
- image: ghcr.io/cirruslabs/macos-monterey-xcode:latest
|
||||
- image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
|
||||
- image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest
|
||||
env:
|
||||
matrix:
|
||||
- PY_VER: "3.9"
|
||||
- PY_VER: "3.10"
|
||||
- PY_VER: "3.11"
|
||||
- PY_VER: "3.12"
|
||||
setup_script:
|
||||
- brew update
|
||||
- brew install python@${PY_VER}
|
||||
|
@ -27,10 +29,10 @@ task:
|
|||
build_script:
|
||||
- sudo cp physac/src/physac.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 cffi
|
||||
- /opt/homebrew/bin/python${PY_VER} -m pip install setuptools
|
||||
- /opt/homebrew/bin/python${PY_VER} -m pip install wheel
|
||||
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages --upgrade pip
|
||||
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages cffi
|
||||
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages setuptools
|
||||
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages wheel
|
||||
- /opt/homebrew/bin/python${PY_VER} setup.py bdist_wheel
|
||||
artifacts:
|
||||
path: "dist/*"
|
Reference in a new issue