Skip to content

Commit 6113328

Browse files
remove macos arm64 builds
1 parent baf12dd commit 6113328

File tree

2 files changed

+97
-97
lines changed

2 files changed

+97
-97
lines changed

.github/workflows/build.yml

Lines changed: 96 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -60,102 +60,102 @@ jobs:
6060
name: wheel
6161
path: dist/*
6262

63-
build-mac12-arm64:
64-
runs-on: macos-12
65-
strategy:
66-
matrix:
67-
python-version: ['3.10', '3.11.0-alpha - 3.11.0' ]
68-
# Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
69-
steps:
70-
- uses: actions/checkout@v2
71-
with:
72-
submodules: recursive
73-
74-
- name: Setup Python
75-
uses: actions/[email protected]
76-
with:
77-
python-version: ${{ matrix.python-version }}
78-
architecture: x64
79-
80-
# Only build raylib for arm64 (although we could make a fat universal2 binary by asking for x86_64 as well)
81-
- name: Build raylib
82-
run: |
83-
cd raylib-c
84-
mkdir build
85-
cd build
86-
cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
87-
make -j2
88-
sudo make install
89-
- name: Copy extras
90-
run: |
91-
sudo cp physac/src/physac.h /usr/local/include/
92-
sudo cp raygui/src/raygui.h /usr/local/include/
93-
94-
# Name defaults to universal2 and it technically is, but we override name to arm64. Why don't we make a working universal2 wheel? Because
95-
# 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
96-
# given that there is no SDK for universal until macosx_11_0
97-
- name: Build raylib-python-cffi
98-
run: |
99-
python -m pip install --upgrade pip
100-
pip3 install cffi
101-
pip3 install wheel
102-
python setup.py bdist_wheel --plat-name macosx_12_0_arm64
103-
104-
105-
- name: Upload build Artifact wheel
106-
uses: actions/[email protected]
107-
with:
108-
name: wheel
109-
path: dist/*
110-
111-
112-
build-mac11-arm64:
113-
runs-on: macos-11
114-
strategy:
115-
matrix:
116-
python-version: [ '3.10.5' ]
117-
# Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
118-
env:
119-
MACOSX_DEPLOYMENT_TARGET: 11.6
120-
steps:
121-
- uses: actions/checkout@v2
122-
with:
123-
submodules: recursive
124-
125-
- name: Setup Python
126-
uses: actions/[email protected]
127-
with:
128-
python-version: ${{ matrix.python-version }}
129-
architecture: x64
130-
131-
# build raylib for arm64 and x86_64 as well
132-
- name: Build raylib
133-
run: |
134-
cd raylib-c
135-
mkdir build
136-
cd build
137-
cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
138-
make -j2
139-
sudo make install
140-
- name: Copy extras
141-
run: |
142-
sudo cp physac/src/physac.h /usr/local/include/
143-
sudo cp raygui/src/raygui.h /usr/local/include/
144-
145-
146-
- name: Build raylib-python-cffi
147-
run: |
148-
python -m pip install --upgrade pip
149-
pip3 install cffi
150-
pip3 install wheel
151-
python setup.py bdist_wheel --plat-name macosx_11_0_arm64
152-
153-
- name: Upload build Artifact wheel
154-
uses: actions/[email protected]
155-
with:
156-
name: wheel
157-
path: dist/*
158-
63+
# build-mac12-arm64:
64+
# runs-on: macos-12
65+
# strategy:
66+
# matrix:
67+
# python-version: ['3.10', '3.11.0-alpha - 3.11.0' ]
68+
# # Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
69+
# steps:
70+
# - uses: actions/checkout@v2
71+
# with:
72+
# submodules: recursive
73+
#
74+
# - name: Setup Python
75+
# uses: actions/[email protected]
76+
# with:
77+
# python-version: ${{ matrix.python-version }}
78+
# architecture: x64
79+
#
80+
# # Only build raylib for arm64 (although we could make a fat universal2 binary by asking for x86_64 as well)
81+
# - name: Build raylib
82+
# run: |
83+
# cd raylib-c
84+
# mkdir build
85+
# cd build
86+
# cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
87+
# make -j2
88+
# sudo make install
89+
# - name: Copy extras
90+
# run: |
91+
# sudo cp physac/src/physac.h /usr/local/include/
92+
# sudo cp raygui/src/raygui.h /usr/local/include/
93+
#
94+
# # Name defaults to universal2 and it technically is, but we override name to arm64. Why don't we make a working universal2 wheel? Because
95+
# # 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
96+
# # given that there is no SDK for universal until macosx_11_0
97+
# - name: Build raylib-python-cffi
98+
# run: |
99+
# python -m pip install --upgrade pip
100+
# pip3 install cffi
101+
# pip3 install wheel
102+
# python setup.py bdist_wheel --plat-name macosx_12_0_arm64
103+
#
104+
#
105+
# - name: Upload build Artifact wheel
106+
# uses: actions/[email protected]
107+
# with:
108+
# name: wheel
109+
# path: dist/*
110+
#
111+
#
112+
# build-mac11-arm64:
113+
# runs-on: macos-11
114+
# strategy:
115+
# matrix:
116+
# python-version: [ '3.10.5' ]
117+
# # Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
118+
# env:
119+
# MACOSX_DEPLOYMENT_TARGET: 11.6
120+
# steps:
121+
# - uses: actions/checkout@v2
122+
# with:
123+
# submodules: recursive
124+
#
125+
# - name: Setup Python
126+
# uses: actions/[email protected]
127+
# with:
128+
# python-version: ${{ matrix.python-version }}
129+
# architecture: x64
130+
#
131+
# # build raylib for arm64 and x86_64 as well
132+
# - name: Build raylib
133+
# run: |
134+
# cd raylib-c
135+
# mkdir build
136+
# cd build
137+
# cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
138+
# make -j2
139+
# sudo make install
140+
# - name: Copy extras
141+
# run: |
142+
# sudo cp physac/src/physac.h /usr/local/include/
143+
# sudo cp raygui/src/raygui.h /usr/local/include/
144+
#
145+
#
146+
# - name: Build raylib-python-cffi
147+
# run: |
148+
# python -m pip install --upgrade pip
149+
# pip3 install cffi
150+
# pip3 install wheel
151+
# python setup.py bdist_wheel --plat-name macosx_11_0_arm64
152+
#
153+
# - name: Upload build Artifact wheel
154+
# uses: actions/[email protected]
155+
# with:
156+
# name: wheel
157+
# path: dist/*
158+
#
159159

160160

161161
build-linux:

version.py

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

0 commit comments

Comments
 (0)