CadQuery / ocp-build-system

A system to build Python wheel PyPI packages for OCP.
Apache License 2.0
6 stars 8 forks source link

Add a `local-build.sh` script to build Apple Silicon wheels locally #18

Closed jeremiahrose closed 6 months ago

jeremiahrose commented 6 months ago

Since there are no free Apple Silicon runners available for GitHub actions, a simple solution is to just run the build locally on an Apple Silicon Macbook.

To that end, this PR adds a local-build.sh script that builds for whatever architecture the local machine is running on. On an M1 Macbook Pro it should take approx 25 minutes to build for all 4 Python versions.

Then the wheels can be uploaded manually to the release, or we can develop a local-release.sh script to add the wheels to an existing release.