remove macos arm64 builds
This commit is contained in:
parent
baf12dd756
commit
6113328f8f
2 changed files with 97 additions and 97 deletions
192
.github/workflows/build.yml
vendored
192
.github/workflows/build.yml
vendored
|
@ -60,102 +60,102 @@ jobs:
|
||||||
name: wheel
|
name: wheel
|
||||||
path: dist/*
|
path: dist/*
|
||||||
|
|
||||||
build-mac12-arm64:
|
# build-mac12-arm64:
|
||||||
runs-on: macos-12
|
# runs-on: macos-12
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
python-version: ['3.10', '3.11.0-alpha - 3.11.0' ]
|
# 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
|
# # Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
with:
|
# with:
|
||||||
submodules: recursive
|
# submodules: recursive
|
||||||
|
#
|
||||||
- name: Setup Python
|
# - name: Setup Python
|
||||||
uses: actions/setup-python@v2.2.2
|
# uses: actions/setup-python@v2.2.2
|
||||||
with:
|
# with:
|
||||||
python-version: ${{ matrix.python-version }}
|
# python-version: ${{ matrix.python-version }}
|
||||||
architecture: x64
|
# architecture: x64
|
||||||
|
#
|
||||||
# Only build raylib for arm64 (although we could make a fat universal2 binary by asking for x86_64 as well)
|
# # Only build raylib for arm64 (although we could make a fat universal2 binary by asking for x86_64 as well)
|
||||||
- name: Build raylib
|
# - name: Build raylib
|
||||||
run: |
|
# run: |
|
||||||
cd raylib-c
|
# cd raylib-c
|
||||||
mkdir build
|
# mkdir build
|
||||||
cd build
|
# cd build
|
||||||
cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
|
# cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
|
||||||
make -j2
|
# make -j2
|
||||||
sudo make install
|
# sudo make install
|
||||||
- name: Copy extras
|
# - name: Copy extras
|
||||||
run: |
|
# run: |
|
||||||
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/
|
||||||
|
#
|
||||||
# Name defaults to universal2 and it technically is, but we override name to arm64. Why don't we make a working universal2 wheel? Because
|
# # Name defaults to universal2 and it technically is, but we override name to arm64. Why don't we make a working universal2 wheel? Because
|
||||||
# I'd rather have a separate x86_64 that I can test, and I want it to work on 10_15 but I'm not sure a 'macosx_10_15_universal2' is valid
|
# # I'd rather have a separate x86_64 that I can test, and I want it to work on 10_15 but I'm not sure a 'macosx_10_15_universal2' is valid
|
||||||
# given that there is no SDK for universal until macosx_11_0
|
# # given that there is no SDK for universal until macosx_11_0
|
||||||
- name: Build raylib-python-cffi
|
# - name: Build raylib-python-cffi
|
||||||
run: |
|
# run: |
|
||||||
python -m pip install --upgrade pip
|
# python -m pip install --upgrade pip
|
||||||
pip3 install cffi
|
# pip3 install cffi
|
||||||
pip3 install wheel
|
# pip3 install wheel
|
||||||
python setup.py bdist_wheel --plat-name macosx_12_0_arm64
|
# python setup.py bdist_wheel --plat-name macosx_12_0_arm64
|
||||||
|
#
|
||||||
|
#
|
||||||
- name: Upload build Artifact wheel
|
# - name: Upload build Artifact wheel
|
||||||
uses: actions/upload-artifact@v2.2.4
|
# uses: actions/upload-artifact@v2.2.4
|
||||||
with:
|
# with:
|
||||||
name: wheel
|
# name: wheel
|
||||||
path: dist/*
|
# path: dist/*
|
||||||
|
#
|
||||||
|
#
|
||||||
build-mac11-arm64:
|
# build-mac11-arm64:
|
||||||
runs-on: macos-11
|
# runs-on: macos-11
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
python-version: [ '3.10.5' ]
|
# python-version: [ '3.10.5' ]
|
||||||
# Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
|
# # Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
|
||||||
env:
|
# env:
|
||||||
MACOSX_DEPLOYMENT_TARGET: 11.6
|
# MACOSX_DEPLOYMENT_TARGET: 11.6
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
with:
|
# with:
|
||||||
submodules: recursive
|
# submodules: recursive
|
||||||
|
#
|
||||||
- name: Setup Python
|
# - name: Setup Python
|
||||||
uses: actions/setup-python@v2.2.2
|
# uses: actions/setup-python@v2.2.2
|
||||||
with:
|
# with:
|
||||||
python-version: ${{ matrix.python-version }}
|
# python-version: ${{ matrix.python-version }}
|
||||||
architecture: x64
|
# architecture: x64
|
||||||
|
#
|
||||||
# build raylib for arm64 and x86_64 as well
|
# # build raylib for arm64 and x86_64 as well
|
||||||
- name: Build raylib
|
# - name: Build raylib
|
||||||
run: |
|
# run: |
|
||||||
cd raylib-c
|
# cd raylib-c
|
||||||
mkdir build
|
# mkdir build
|
||||||
cd build
|
# cd build
|
||||||
cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
|
# cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
|
||||||
make -j2
|
# make -j2
|
||||||
sudo make install
|
# sudo make install
|
||||||
- name: Copy extras
|
# - name: Copy extras
|
||||||
run: |
|
# run: |
|
||||||
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/
|
||||||
|
#
|
||||||
|
#
|
||||||
- name: Build raylib-python-cffi
|
# - name: Build raylib-python-cffi
|
||||||
run: |
|
# run: |
|
||||||
python -m pip install --upgrade pip
|
# python -m pip install --upgrade pip
|
||||||
pip3 install cffi
|
# pip3 install cffi
|
||||||
pip3 install wheel
|
# pip3 install wheel
|
||||||
python setup.py bdist_wheel --plat-name macosx_11_0_arm64
|
# python setup.py bdist_wheel --plat-name macosx_11_0_arm64
|
||||||
|
#
|
||||||
- name: Upload build Artifact wheel
|
# - name: Upload build Artifact wheel
|
||||||
uses: actions/upload-artifact@v2.2.4
|
# uses: actions/upload-artifact@v2.2.4
|
||||||
with:
|
# with:
|
||||||
name: wheel
|
# name: wheel
|
||||||
path: dist/*
|
# path: dist/*
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
__version__ = "4.2.1.0"
|
__version__ = "4.2.1.1"
|
Reference in a new issue