SerenityOS / serenity

The Serenity Operating System 🐞
https://serenityos.org
BSD 2-Clause "Simplified" License
30.66k stars 3.19k forks source link

CI: Add M1 Mac CI Jobs #13961

Open ADKaster opened 2 years ago

ADKaster commented 2 years ago

Currently blocked by https://github.com/actions/runner/issues/805 and https://github.com/actions/virtual-environments/issues/2187

When that issue is closed with aarch64 macOS Runners available in either Github Actions or Azure, we can add a build job to build Lagom under M1 Macs.

They have been a constant source of unintentional breakages, especially in Math related code.

ADKaster commented 2 years ago

Some poking around the linked issues suggests that -DCMAKE_OSX_ARCHITECTURES=arm64 might succeed in getting a cross build going

https://github.com/DataDog/libddwaf/blob/8a6e6e2b545c7075c17767bc4b43a5fd88d526f1/.github/workflows/build.yml#L72-L95

timschumi commented 1 year ago

GitHub Actions: Apple silicon (M1) macOS runners are now available in public beta

awesomekling commented 9 months ago

GitHub Actions: Introducing the new M1 macOS runner available to open source!

ADKaster commented 9 months ago

While GitHub Actions seems to have Apple Silicon hosted runners available, Azure DevOps doesn't yet. https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software

We'll either need to wait for ADO to get some apple silicon runners, or move our macOS Lagom CI back to GitHub Actions, which seems like a pain.