py-limited-api was NOT working, most builds were broken. Why did no-one report this?

This commit is contained in:
richard 2022-08-21 00:44:01 +01:00
parent 3ac76b8aaa
commit db77dc1210

View file

@ -17,7 +17,7 @@ jobs:
runs-on: macos-10.15
strategy:
matrix:
python-version: [ '3.7', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
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' ]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
@ -52,7 +52,7 @@ jobs:
python -m pip install --upgrade pip
pip3 install cffi
pip3 install wheel
python setup.py bdist_wheel --plat-name macosx_10_15_x86_64 --py-limited-api=cp37
python setup.py bdist_wheel --plat-name macosx_10_15_x86_64
- name: Upload build Artifact wheel
uses: actions/upload-artifact@v2.2.4
@ -64,7 +64,7 @@ jobs:
runs-on: macos-12
strategy:
matrix:
python-version: ['3.10.5']
python-version: ['3.10', '3.11.0-alpha - 3.11.0' ]
# Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
steps:
- uses: actions/checkout@v2
@ -149,8 +149,7 @@ jobs:
python -m pip install --upgrade pip
pip3 install cffi
pip3 install wheel
python setup.py bdist_wheel --plat-name macosx_11_0_arm64 --py-limited-api=cp37
python setup.py bdist_wheel --plat-name macosx_11_0_arm64
- name: Upload build Artifact wheel
uses: actions/upload-artifact@v2.2.4
@ -166,7 +165,7 @@ jobs:
# You can use PyPy versions in python-version.
# For example, pypy2 and pypy3
matrix:
python-version: [ '3.7', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
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' ]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
@ -201,7 +200,7 @@ jobs:
python -m pip install --upgrade pip
pip3 install cffi
pip3 install wheel
python setup.py bdist_wheel --plat-name manylinux2014_x86_64 --py-limited-api=cp37
python setup.py bdist_wheel --plat-name manylinux2014_x86_64
- name: Upload build Artifact wheel
uses: actions/upload-artifact@v2.2.4
@ -233,7 +232,7 @@ jobs:
- name: Build raylib-python-cffi
run: |
python3 setup.py bdist_wheel --py-limited-api=cp37
python3 setup.py bdist_wheel
- name: Upload build Artifact wheel
uses: actions/upload-artifact@v2.2.4
@ -248,7 +247,7 @@ jobs:
# You can use PyPy versions in python-version.
# For example, pypy2 and pypy3
matrix:
python-version: [ '3.7', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
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' ]
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
@ -286,7 +285,7 @@ jobs:
del raylib\dynamic\*.dll >nul 2>&1
del raylib\dynamic\*.dylib >nul 2>&1
del raylib\dynamic\32bit\* >nul 2>&1
python setup.py bdist_wheel --py-limited-api=cp37
python setup.py bdist_wheel
shell: cmd
- name: Upload build Artifact wheel
@ -319,7 +318,7 @@ jobs:
cd raylib-c
mkdir build
cd build
cmake -DBUILD_EXAMPLES=off -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
cmake -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
make -j2
sudo make install
- name: Copy extras