3333 strategy :
3434 fail-fast : false
3535 matrix :
36- # macos-13 is Intel runner, macos-14 is Apple Silicon
37- # https://github.com/actions/runner-images
38- os : [macos-13, macos-14]
36+ os : [macos-14]
3937 CONFIG : [ON, OFF]
4038 env :
4139 BUILD_SHARED_LIBS : ${{ matrix.CONFIG }}
@@ -118,50 +116,6 @@ jobs:
118116 path : build/bin/open3d-*-app-macosx-10_15-${{ runner.arch }}.zip
119117 if-no-files-found : error
120118
121- fuse-viewer :
122- permissions :
123- contents : write # Release upload
124- name : Fuse x64 and ARM64 viewer app
125- runs-on : [macos-13]
126- needs : [MacOS]
127- steps :
128- - name : Checkout source code # for gh release upload
129- uses : actions/checkout@v4
130- - name : Download viewer apps
131- uses : actions/download-artifact@v4
132- with :
133- pattern : open3d-app-macosx-10_15-*
134- merge-multiple : true
135-
136- - name : Fuse x64 and arm64 viewer apps
137- run : |
138- unzip open3d-*-app-macosx-10_15-X64.zip -d x64
139- unzip open3d-*-app-macosx-10_15-ARM64.zip -d arm64
140- APP_NAME=$(ls open3d-*-app-macosx-10_15-X64.zip)
141- APP_NAME=${APP_NAME/-X64/-universal2} # includes version
142- for i in arm64/Open3D.app/Contents/MacOS/*; do
143- filepath=Open3D.app/Contents/MacOS/$(basename $i)
144- lipo -create arm64/${filepath} x64/${filepath} -output arm64/${filepath}
145- done
146- mv arm64/Open3D.app Open3D.app
147- zip -rv "${APP_NAME}" Open3D.app
148-
149- - name : Upload Open3D viewer app
150- uses : actions/upload-artifact@v4
151- with :
152- name : open3d-app-macosx-10_15-universal2
153- path : open3d-*-app-macosx-10_15-universal2.zip
154- if-no-files-found : error
155-
156- - name : Update viewer devel release
157- if : ${{ github.ref == 'refs/heads/main' }}
158- env :
159- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
160- run : |
161- gh release upload main-devel open3d-*-app-macosx-10_15-universal2.zip --clobber
162- gh release view main-devel
163-
164-
165119 build-wheel :
166120 name : Build wheel
167121 permissions :
@@ -171,9 +125,7 @@ jobs:
171125 fail-fast : false
172126 # https://github.community/t/how-to-conditionally-include-exclude-items-in-matrix-eg-based-on-branch/16853/6
173127 matrix :
174- # macos-13 is Intel runner, macos-14 is Apple Silicon
175- # https://github.com/actions/runner-images
176- os : [macos-13, macos-14]
128+ os : [macos-14]
177129 python_version : ['3.10', '3.11', '3.12', '3.13']
178130 is_main :
179131 - ${{ github.ref == 'refs/heads/main' }}
@@ -257,75 +209,6 @@ jobs:
257209 path : build/lib/python_package/pip_package/${{ env.PIP_PKG_NAME }}
258210 if-no-files-found : error
259211
260-
261- fuse-wheel :
262- name : Fuse universal2 wheel
263- permissions :
264- contents : write # Release upload
265- runs-on : [macos-13]
266- needs : [build-wheel]
267- strategy :
268- fail-fast : false
269- # https://github.community/t/how-to-conditionally-include-exclude-items-in-matrix-eg-based-on-branch/16853/6
270- matrix :
271- python_version : ['3.10', '3.11', '3.12', '3.13']
272- is_main :
273- - ${{ github.ref == 'refs/heads/main' }}
274- exclude :
275- - is_main : false
276- python_version : ' 3.10'
277- - is_main : false
278- python_version : ' 3.11'
279- - is_main : false
280- python_version : ' 3.12'
281- steps :
282- - name : Checkout source code # for gh release upload
283- uses : actions/checkout@v4
284- - name : Set up Python
285- uses : actions/setup-python@v5
286- with :
287- python-version : ${{ matrix.python_version }}
288-
289- - name : Download X64 wheels
290- uses : actions/download-artifact@v4
291- with :
292- pattern : open3d-*macosx*_x86_64.whl
293- path : x64_wheels
294- merge-multiple : true
295-
296- - name : Download ARM64 wheels
297- uses : actions/download-artifact@v4
298- with :
299- pattern : open3d-*macosx*_arm64.whl
300- path : arm64_wheels
301- merge-multiple : true
302-
303- - name : Fuse x64 and ARM64 wheels
304- env :
305- python_version : ${{ matrix.python_version }}
306- run : |
307- PYTAG="-cp$(echo ${{ env.python_version }} | tr -d '.')"
308- mkdir universal_wheels
309- pip install delocate
310- delocate-merge -v -w universal_wheels x64_wheels/open3d-*${PYTAG}*.whl arm64_wheels/open3d-*${PYTAG}*.whl
311- NEW_WHL_NAME=$(basename universal_wheels/open3d-*${PYTAG}*.whl)
312- echo "PIP_PKG_NAME=$NEW_WHL_NAME" >> $GITHUB_ENV
313-
314- - name : Upload merged wheels
315- uses : actions/upload-artifact@v4
316- with :
317- name : ${{ env.PIP_PKG_NAME }}
318- path : universal_wheels/${{ env.PIP_PKG_NAME }}
319- if-no-files-found : error
320-
321- - name : Update devel release
322- if : ${{ github.ref == 'refs/heads/main' }}
323- env :
324- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
325- run : |
326- gh release upload main-devel universal_wheels/${{ env.PIP_PKG_NAME }} --clobber
327- gh release view main-devel
328-
329212 test-wheel :
330213 name : Test wheel
331214 permissions :
@@ -335,7 +218,7 @@ jobs:
335218 strategy :
336219 fail-fast : false
337220 matrix :
338- os : [macos-13, macos- 14]
221+ os : [macos-14]
339222 python_version : ['3.10', '3.11', '3.12', '3.13']
340223 is_main :
341224 - ${{ github.ref == 'refs/heads/main' }}
0 commit comments