8000 py-limited-api was NOT working, most builds were broken. Why did no-… · sDos280/raylib-python-cffi@db77dc1 · GitHub
[go: up one dir, main page]

Skip to content

Commit db77dc1

Browse files
py-limited-api was NOT working, most builds were broken. Why did no-one report this?
1 parent 3ac76b8 commit db77dc1

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: macos-10.15
1818
strategy:
1919
matrix:
20-
python-version: [ '3.7', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
20+
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11.0-alpha - 3.11.0', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
2121
steps:
2222
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2323
- uses: actions/checkout@v2
@@ -52,7 +52,7 @@ jobs:
5252
python -m pip install --upgrade pip
5353
pip3 install cffi
5454
pip3 install wheel
55-
python setup.py bdist_wheel --plat-name macosx_10_15_x86_64 --py-limited-api=cp37
55+
python setup.py bdist_wheel --plat-name macosx_10_15_x86_64
5656
5757
- name: Upload build Artifact wheel
5858
uses: actions/upload-artifact@v2.2.4
@@ -64,7 +64,7 @@ jobs:
6464
runs-on: macos-12
6565
strategy:
6666
matrix:
67-
python-version: ['3.10.5']
67+
python-version: ['3.10', '3.11.0-alpha - 3.11.0' ]
6868
# Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
6969
steps:
7070
- uses: actions/checkout@v2
@@ -149,8 +149,7 @@ jobs:
149149
python -m pip install --upgrade pip
150150
pip3 install cffi
151151
pip3 install wheel
152-
python setup.py bdist_wheel --plat-name macosx_11_0_arm64 --py-limited-api=cp37
153-
152+
python setup.py bdist_wheel --plat-name macosx_11_0_arm64
154153
155154
- name: Upload build Artifact wheel
156155
uses: actions/upload-artifact@v2.2.4
@@ -166,7 +165,7 @@ jobs:
166165
# You can use PyPy versions in python-version.
167166
# For example, pypy2 and pypy3
168167
matrix:
169-
python-version: [ '3.7', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
168+
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11.0-alpha - 3.11.0', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
170169
steps:
171170
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
172171
- uses: actions/checkout@v2
@@ -201,7 +200,7 @@ jobs:
201200
python -m pip install --upgrade pip
202201
pip3 install cffi
203202
pip3 install wheel
204-
python setup.py bdist_wheel --plat-name manylinux2014_x86_64 --py-limited-api=cp37
203+
python setup.py bdist_wheel --plat-name manylinux2014_x86_64
205204
206205
- name: Upload build Artifact wheel
207206
uses: actions/upload-artifact@v2.2.4
@@ -233,7 +232,7 @@ jobs:
233232
234233
- name: Build raylib-python-cffi
235234
run: |
236-
python3 setup.py bdist_wheel --py-limited-api=cp37
235+
python3 setup.py bdist_wheel
237236
238237
- name: Upload build Artifact wheel
239238
uses: actions/upload-artifact@v2.2.4
@@ -248,7 +247,7 @@ jobs:
248247
# You can use PyPy versions in python-version.
249248
# For example, pypy2 and pypy3
250249
matrix:
251-
python-version: [ '3.7', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
250+
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11.0-alpha - 3.11.0', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
252251
steps:
253252
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
254253
- uses: actions/checkout@v2
@@ -286,7 +285,7 @@ jobs:
286285
del raylib\dynamic\*.dll >nul 2>&1
287286
del raylib\dynamic\*.dylib >nul 2>&1
288287
del raylib\dynamic\32bit\* >nul 2>&1
289-
python setup.py bdist_wheel --py-limited-api=cp37
288+
python setup.py bdist_wheel
290289
shell: cmd
291290

292291
- name: Upload build Artifact wheel
@@ -319,7 +318,7 @@ jobs:
319318
cd raylib-c
320319
mkdir build
321320
cd build
322-
cmake -DBUILD_EXAMPLES=off -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
321+
cmake -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
323322
make -j2
324323
sudo make install
325324
- name: Copy extras

0 commit comments

Comments
 (0)
0