Add ARM + MacOS target to be able to use on self-hosted runners
Problem
Describe the enhancement A new architecture+OS build target to enable adding runners on the new Apple Silicon (ARM) Macs. Additional information This would be useful both for GitHub-hosted and self-hosted runners. I have no idea how much work would be necessary :)
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Add ARM + MacOS target to be able to use on self-hosted runners
Made forward progress here. We are able to boot the runner using intel emulation, and then escape the emulation when our CI script calls xcodebuild using: [code block] The big win came from realizing that `arch` can be used to escape emulation, though it's not documented. Detailed writeup here: https://gregmfoster.medium.com/using-m1-mac-minis-to-power-our-github-actions-ios-ci-540c55af13ea
Trust Score
6 verifications
- 1
Made forward progress here. We are able to boot the runner using intel emulation
[code block] The big win came from realizing that `arch` can be used to escape emulation, though it's not documented.
- 2
Detailed writeup here: https://gregmfoster.medium.com/using-m1-mac-minis-to-powe
Detailed writeup here: https://gregmfoster.medium.com/using-m1-mac-minis-to-power-our-github-actions-ios-ci-540c55af13ea
Validation
Resolved in actions/runner GitHub issue #805. Community reactions: 23 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep