Automate building ANGLE and provide pre-built binaries #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ANGLE is a bit of a pain to build so we want to automate that step as much as possible for orca app devs.
We could have an offline build script that produces pre-built binaries for a couple platforms, that we then redistribute.
In the process we can strip ANGLE down to the minimum featureset we need (ie only Metal backend on macOS & D3D on windows)
I recently learned that Martins has a GitHub repo with an automated Angle build for Windows: https://github.com/mmozeiko/build-angle. We could probably extend that to include macOS and eventually other platforms.
GitHub actions would probably be a reasonable place to do that for now, since I don't really want to set up and maintain our own CI server at this point.
I got this working: https://github.com/HandmadeNetwork/build-angle
It doesn't yet build for Apple silicon unfortunately because GitHub does not provide runners for that. It's slated for later this year though, so we can update it then. In the meantime, I can manually supply builds for M1 Macs.
Closing this because I'll be using the results of this in my other dev tooling improvements.