H-uru / Plasma

Cyan Worlds's Plasma game engine
http://h-uru.github.io/Plasma/
GNU General Public License v3.0
202 stars 80 forks source link

Use M1 macOS runners for arm64 builds #1560

Closed dpogue closed 5 months ago

dpogue commented 5 months ago

Build times seem to be cut in half using the M1 runners, and this allows us to properly install and build with Qt on arm64 builds.

Worth noting, I also tried running the x86_64 builds on M1 and it failed to compile Python. That might be something we need to look at in the future. For now, I've kept x86_64 running on Intel macOS 12.

colincornaby commented 5 months ago

Probably not crucial - but are we able to lipo together a proper universal build now? I've culled all the dylibs so we should just be down to lipo'ing the one executable.

dpogue commented 5 months ago

are we able to lipo together a proper universal build now?

Probably. I think we'd keep the build process the same as it is now (build for x86_64 and arm64 separately), and then have a followup action that runs after both those builds have finished that grabs the outputs and lipos them together. I guess this step is also where we'd need to handle the code signing stuff...