18
18
strategy :
19
19
matrix :
20
20
python-version : [ '3.7', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9' ]
21
+ env :
22
+ MACOSX_DEPLOYMENT_TARGET : 10.14
21
23
steps :
22
24
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23
25
- uses : actions/checkout@v2
52
54
python -m pip install --upgrade pip
53
55
pip3 install cffi
54
56
pip3 install wheel
55
- python setup.py bdist_wheel --plat-name macosx_10_15_x86_64 --py-limited-api=cp37
57
+ python setup.py bdist_wheel --plat-name macosx_10_14_x86_64 --py-limited-api=cp37
56
58
57
59
- name : Upload build Artifact wheel
58
60
@@ -100,7 +102,7 @@ jobs:
100
102
python -m pip install --upgrade pip
101
103
pip3 install cffi
102
104
pip3 install wheel
103
- python setup.py bdist_wheel --plat-name macosx_12_0_arm64 --py-limited-api=cp310
105
+ python setup.py bdist_wheel --plat-name macosx_12_0_arm64 --py-limited-api=cp37
104
106
105
107
106
108
- name : Upload build Artifact wheel
@@ -129,7 +131,7 @@ jobs:
129
131
python-version : ${{ matrix.python-version }}
130
132
architecture : x64
131
133
132
- # Only build raylib for arm64 (although we could make a fat universal2 binary by asking for x86_64 as well)
134
+ # build raylib for arm64 and x86_64 as well
133
135
- name : Build raylib
134
136
run : |
135
137
cd raylib-c
@@ -143,16 +145,13 @@ jobs:
143
145
sudo cp physac/src/physac.h /usr/local/include/
144
146
sudo cp raygui/src/raygui.h /usr/local/include/
145
147
146
- # Name defaults to universal2 and it technically is, but it wont run on x86_64 because we didnt build raylib for that
147
- # so symbols are missing. So we override name to arm64. Why don't we make a working universal2 wheel? Because
148
- # 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
149
- # given that there is no SDK for universal until macosx_11_0
148
+
150
149
- name : Build raylib-python-cffi
151
150
run : |
152
151
python -m pip install --upgrade pip
153
152
pip3 install cffi
154
153
pip3 install wheel
155
- python setup.py bdist_wheel --plat-name macosx_11_0_arm64 --py-limited-api=cp39
154
+ python setup.py bdist_wheel --plat-name macosx_11_0_arm64 --py-limited-api=cp37
156
155
157
156
158
157
- name : Upload build Artifact wheel
0 commit comments