mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
GitHub has publicly available Arm macOS runners now: https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/ These runners are used when the OS label is `macos-14` instead of `macos-12`. This PR switches the main PR and merge queue macOS runs to that OS. It adds a push-only `macos-12` run to check post-merge whether Intel macOS keeps working as we don't want that to break too badly. Given how much faster the M1 is, it didn't seem worth it to keep this in the critical path of development. And the Intel path here is more likely than others to diminish in importance over time. All our OS predicates in the action encoded a specific OS version which no longer works given two macOS versions, so I've switch all the OS predicates to a generic pattern that doesn't encode a version. Example run on a PR: https://github.com/carbon-language/carbon-lang/actions/runs/7766629200?pr=3686 Example run on push: https://github.com/carbon-language/carbon-lang/actions/runs/7766480822