File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -148,3 +148,41 @@ 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
+ --threads=4 \
178
+ --everything \
179
+ --use-toontown \
180
+ --python-incdir="$pythonLocation/include" \
181
+ --python-libdir="$pythonLocation/lib"
182
+
183
+
184
+ - name : Upload Panda Binary
185
+ env :
186
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
187
+ run : |
188
+ 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