-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
👷🏻♂️ Switch to self-hosted M1 Mac mini runner #382
Conversation
Got it working tonight but need to configure the runner app to start as a service before this will be ready to merge. |
Nice work! It'll be good to be ahead of the game with this. |
a4059f8
to
bb08df1
Compare
Getting farther with a shell command wrapper to force scripts to run outside Rosetta. |
The forced architecture for scripts worked to run brew commands in - uses: actions/checkout@v2
with:
# Fetch tags for script/version
fetch-depth: 0 |
I don't think the |
23aedde
to
4762a89
Compare
Not sure why the I want to do a little more cleanup after my experiments, set the runner app to autolaunch on startup and move the mini back into my DMZ vlan before we merge this PR. |
FYI, m1 is running macOS Monterey 12.1 and Xcode 13.2.1 is the default. Homebrew needs to be run as an admin so I want to add codeowners requiring |
10400ae
to
e6ccb80
Compare
e6ccb80
to
a3b5757
Compare
A |
GitHub Actions only support "X64" architecture right now, so the current solution relies on Rosetta 2. Xcode builds (at least running XCUITests) require
arch -arm64
prefixed to the commands, but it seems that Swift build & test do not.Fixes #380
Scripts in https://github.com/mas-cli/m1-github-actions-runner
TODO
.github
files