GitHub Actions
Add a self-hosted runner in your repository or organisation settings, then choose the macOS ARM64 package. Extract it, run the configuration command provided by GitHub from the runner directory, and start the process.
./config.sh \
--url "$RUNNER_URL" \
--token "$RUNNER_TOKEN" \
--labels macos-m4
./run.sh
Set runs-on: [self-hosted, macOS, ARM64, macos-m4] in your workflow and make sure the labels match the runner registration. Labels route jobs; they don’t automatically isolate them from one another.
Check that the platform shows the runner as online and that a test job reports arm64 from uname -m. To keep it running, configure the service as described by the installer and run it as the same build user.