8000 change macos 12 arm64 build to fat binary · sDos280/raylib-python-cffi@baf12dd · GitHub
[go: up one dir, main page]

Skip to content

Commit baf12dd

Browse files
change macos 12 arm64 build to fat binary
1 parent c850e70 commit baf12dd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,15 @@ jobs:
8383
cd raylib-c
8484
mkdir build
8585
cd build
86-
cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
86+
7E76 cmake -DBUILD_EXAMPLES=off -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DINCLUDE_EVERYTHING=on -DSUPPORT_FILEFORMAT_JPG=on -DWITH_PIC=on -DCMAKE_BUILD_TYPE=Release ..
8787
make -j2
8888
sudo make install
8989
- name: Copy extras
9090
run: |
9191
sudo cp physac/src/physac.h /usr/local/include/
9292
sudo cp raygui/src/raygui.h /usr/local/include/
9393
94-
# Name defaults to universal2 and it technically is, but it wont run on x86_64 because we didnt build raylib for that
95-
# so symbols are missing. So we override name to arm64. Why don't we make a working universal2 wheel? Because
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
9695
# 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
9796
# given that there is no SDK for universal until macosx_11_0
9897
- name: Build raylib-python-cffi

0 commit comments

Comments
 (0)
0