File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -64,22 +64,20 @@ jobs:
64
64
runs-on : macos-12
65
65
strategy :
66
66
matrix :
67
- python-version : ['3.10.5', 'pypy-3.9' ]
67
+ python-version : ['3.10.5']
68
+ # Requires universal2 build of python, which we get if we ask for 3.10.5 x86! Pypy not available in universal2
68
69
steps :
69
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
70
70
- uses : actions/checkout@v2
71
71
with :
72
72
submodules : recursive
73
73
74
74
- name : Setup Python
75
75
76
76
with :
77
- # Version range or exact version of a Python version to use, using SemVer's version range syntax.
78
77
python-version : ${{ matrix.python-version }}
79
- # The target architecture (x86, x64) of the Python interpreter.
80
78
architecture : x64
81
79
82
- # Runs a set of commands using the runners shell
80
+ # Only build raylib for arm64 (although we could make a fat universal2 binary by asking for x86_64 as well)
83
81
- name : Build raylib
84
82
run : |
85
83
cd raylib-c
92
90
run : |
93
91
sudo cp physac/src/physac.h /usr/local/include/
94
92
sudo cp raygui/src/raygui.h /usr/local/include/
93
+
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
96
+ # 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
97
+ # given that there is no SDK for universal until macosx_11_0
95
98
- name : Build raylib-python-cffi
96
99
run : |
97
100
python -m pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments