ungoogled-software / ungoogled-chromium-macos

macOS packaging for ungoogled-chromium
BSD 3-Clause "New" or "Revised" License
252 stars 69 forks source link

ci: Build arm64 builds on macos-14 (ARM CI hosts) #148

Closed Cubik65536 closed 4 months ago

Cubik65536 commented 4 months ago

This PR adds the ability of building our arm64 builds on GitHub's ARM macOS CI hosts to avoid cross-compiling (that is, compiling arm64 codes on x86-64) we're currently doing.

We can expect some build efficiency improvement coming with these changes.

Cubik65536 commented 4 months ago

Here's our test run.

While the x86-64 build time stays at around 15 hours (as it is effectively unchanged), the arm64 build time have been reduced from more than 24 hours to around 15 hours due to the CI host change (so it's now almost the same as x86-64 one, the one expected while compiling on the same arch).

(In my observation, 15 hours will be the shortest time we can get unless GitHub provides more computing resources, or we switch to a more powerful self-hosted CI machine.)

Cubik65536 commented 4 months ago

P.S.: PR is now ready for review.