Maximize Speed: Enabling Apple M1 Arm64 Runner for Swift iOS Builds on GitHub Actions
Davyd NRB
Posted on February 11, 2024
Reputed as one of the top CI/CD service providers is Github Action. Recently, support for M1 Apple chips was added.
Switching to arm64 runner will speed up your iOS builds and cost the same amount of money $0.08/min, see: Github Actions pricing: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#per-minute-rates
One crucial step is to activate macos-14
, in you your .github/workflows/<name>.yml
jobs:
deploy-ios-to-test-flight:
- runs-on: macos-12 # xcode 14
+ runs-on: macos-14 # M1 and Xcode 15.0.1
System info:
Also, here the list of all tools/software pre-installed by default: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md#xcode
💖 💪 🙅 🚩
Davyd NRB
Posted on February 11, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubactions Maximize Speed: Enabling Apple M1 Arm64 Runner for Swift iOS Builds on GitHub Actions
February 11, 2024