File tree Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Expand file tree Collapse file tree 1 file changed +62
-0
lines changed Original file line number Diff line number Diff line change @@ -148,3 +148,65 @@ jobs:
148
148
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
149
149
run : |
150
150
gh release upload ${{ github.ref_name }} panda3d-1.11.0-cp311-cp311-linux_x86_64.whl
151
+ build-macos :
152
+ runs-on : macos-latest
153
+ permissions :
154
+ contents : write # Needed for release upload
155
+ steps :
156
+ - name : Checkout files
157
+ uses : actions/checkout@v4
158
+
159
+ - name : Setup Python
160
+ uses : actions/setup-python@v4
161
+ with :
162
+ python-version : ' 3.11'
163
+
164
+ - name : Install Dependencies
165
+ run : |
166
+ brew install assimp eigen harfbuzz jpeg libpng ode openssl pkg-config libsquish wget
167
+ # download thirdparty packages from https://www.panda3d.org/download/panda3d-1.10.14/panda3d-1.10.14-tools-mac.tar.gz
168
+ # then copy the extracted thirdparty folder to root dir
169
+ wget https://www.panda3d.org/download/panda3d-1.10.14/panda3d-1.10.14-tools-mac.tar.gz
170
+ tar -xvf panda3d-1.10.14-tools-mac.tar.gz
171
+ mv panda3d-1.10.14/thirdparty .
172
+
173
+ - name : Build Panda
174
+ run : |
175
+ python makepanda/makepanda.py \
176
+ --wheel \
177
+ --optimize 3 \
178
+ --lzma \
179
+ --threads=4 \
180
+ --nothing \
181
+ --use-python \
182
+ --use-direct \
183
+ --use-gl \
184
+ --use-tinydisplay \
185
+ --use-egl \
186
+ --use-eigen \
187
+ --use-ode \
188
+ --use-pandaphysics \
189
+ --use-zlib \
190
+ --use-png \
191
+ --use-jpeg \
192
+ --use-squish \
193
+ --use-assimp \
194
+ --use-egg \
195
+ --use-freetype \
196
+ --use-harfbuzz \
197
+ --use-openssl \
198
+ --use-directcam \
199
+ --use-skel \
200
+ --use-pandaparticlesystem \
201
+ --use-contrib \
202
+ --use-sse2 \
203
+ --use-toontown \
204
+ --python-incdir="$pythonLocation/include" \
205
+ --python-libdir="$pythonLocation/lib"
206
+
207
+
208
+ - name : Upload Panda Binary
209
+ env :
210
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
211
+ run : |
212
+ gh release upload ${{ github.ref_name }} panda3d-1.11.0-cp311-cp311-macosx_11_0_arm64.whl
You can’t perform that action at this time.
0 commit comments