Skip to content

Commit 61ee4cf

Browse files
add python 3.12 and pypy 3.10 to builds
1 parent ef20eaf commit 61ee4cf

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

.cirrus.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ task:
88
matrix:
99
- image: ghcr.io/cirruslabs/macos-monterey-xcode:latest
1010
- image: ghcr.io/cirruslabs/macos-ventura-xcode:latest
11+
- image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest
1112
env:
1213
matrix:
1314
- PY_VER: "3.9"
1415
- PY_VER: "3.10"
1516
- PY_VER: "3.11"
17+
- PY_VER: "3.12"
18+
name: "macbuilds"
1619
setup_script:
1720
- brew update
1821
- brew install python@${PY_VER}
@@ -27,10 +30,10 @@ task:
2730
build_script:
2831
- sudo cp physac/src/physac.h /usr/local/include/
2932
- sudo cp raygui/src/raygui.h /usr/local/include/
30-
- /opt/homebrew/bin/python${PY_VER} -m pip install --upgrade pip
31-
- /opt/homebrew/bin/python${PY_VER} -m pip install cffi
32-
- /opt/homebrew/bin/python${PY_VER} -m pip install setuptools
33-
- /opt/homebrew/bin/python${PY_VER} -m pip install wheel
33+
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages --upgrade pip
34+
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages cffi
35+
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages setuptools
36+
- /opt/homebrew/bin/python${PY_VER} -m pip install --break-system-packages wheel
3437
- /opt/homebrew/bin/python${PY_VER} setup.py bdist_wheel
3538
artifacts:
3639
path: "dist/*"

.github/workflows/build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: macos-11
1818
strategy:
1919
matrix:
20-
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
20+
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' ]
2121
steps:
2222
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2323
- uses: actions/checkout@v2
@@ -52,6 +52,7 @@ jobs:
5252
python -m pip install --upgrade pip
5353
pip3 install cffi
5454
pip3 install wheel
55+
pip3 install setuptools
5556
python setup.py bdist_wheel --plat-name macosx_10_15_x86_64
5657
5758
- name: Upload build Artifact wheel
@@ -164,7 +165,7 @@ jobs:
164165
# You can use PyPy versions in python-version.
165166
# For example, pypy2 and pypy3
166167
matrix:
167-
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
168+
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' ]
168169
steps:
169170
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
170171
- uses: actions/checkout@v2
@@ -199,6 +200,7 @@ jobs:
199200
python -m pip install --upgrade pip
200201
pip3 install cffi
201202
pip3 install wheel
203+
pip3 install setuptools
202204
python setup.py bdist_wheel --plat-name manylinux2014_x86_64
203205
204206
- name: Upload build Artifact wheel
@@ -246,7 +248,7 @@ jobs:
246248
# You can use PyPy versions in python-version.
247249
# For example, pypy2 and pypy3
248250
matrix:
249-
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
251+
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' ]
250252
steps:
251253
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
252254
- uses: actions/checkout@v2
@@ -280,6 +282,7 @@ jobs:
280282
python -m pip install --upgrade pip
281283
pip3 install cffi
282284
pip3 install wheel
285+
pip3 install setuptools
283286
del raylib\dynamic\*.so* >nul 2>&1
284287
del raylib\dynamic\*.dll >nul 2>&1
285288
del raylib\dynamic\*.dylib >nul 2>&1
@@ -330,6 +333,7 @@ jobs:
330333
python -m pip install --upgrade pip
331334
pip3 install cffi
332335
pip3 install wheel
336+
pip3 install setuptools
333337
python setup.py sdist
334338
335339
- name: Upload build Artifact wheel
@@ -360,6 +364,7 @@ jobs:
360364
python -m pip install --upgrade pip
361365
pip3 install cffi
362366
pip3 install wheel
367+
pip3 install setuptools
363368
cd dynamic
364369
python setup.py sdist
365370

version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.5.0.0"
1+
__version__ = "4.5.0.1"

0 commit comments

Comments
 (0)