Skip to content
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

Migrate to macOS M1 runner #328

Closed
wants to merge 5 commits into from
Closed

Conversation

DelevoXDG
Copy link
Contributor

@DelevoXDG DelevoXDG commented Oct 2, 2023

Describe your changes

  • Change runner: macos-latest -> macos-latest-xlarge
  • Remove macOS x64 related steps from workflow

Linked issues

Closes #310

Breaking changes

  • This issue contains breaking changes

@DelevoXDG
Copy link
Contributor Author

Apparently, Android NDK is currently not preinstalled. Tracking actions/runner-images#8439 .

@DelevoXDG DelevoXDG marked this pull request as draft October 2, 2023 19:45
@THenry14
Copy link
Member

THenry14 commented Oct 3, 2023

Is m1 free to use? or is it paid?

@DelevoXDG
Copy link
Contributor Author

DelevoXDG commented Oct 3, 2023

Is m1 free to use? or is it paid?

Seems like currently it's paid-only (no small runners for now), so one more reason to hold this off.

@DelevoXDG
Copy link
Contributor Author

DelevoXDG commented Nov 2, 2023

actions/runner-images#8439 (comment)

Seems like the small runners will be available only far in the future.
Additionally, #345 will be addressed before that, mostly removing the primary reason for migration. By then, it is likely this PR will no longer be relevant.

@DelevoXDG DelevoXDG closed this Nov 2, 2023
@kgantchev
Copy link

kgantchev commented Jan 15, 2024

actions/runner-images#8439 (comment)

Seems like the small runners will be available only far in the future.

Might I make a suggestion here? You can try the FlyCI's M1 and M2 runners which are on average about 2x faster and 2x cheaper than GitHub's runners . We also offer a free tier of 500 mins/month on the M1 runner for OSS projects.

Pricing

Processor vCPU RAM (GB) Storage Label Price on FlyCI Price on GitHub
M1 4 7 28 GB flyci-macos-large-latest-m1 $0.06 -
M1 8 14 28 GB flyci-macos-xlarge-latest-m1 $0.12 $0.16
M2 4 7 28 GB flyci-macos-large-latest-m2 $0.08 -
M2 8 14 28 GB flyci-macos-xlarge-latest-m2 $0.16 -

Guide for Implementation

  1. Install the FlyCI GitHub app.
  2. Modify the runs-on directive in workflow files as demonstrated in this PR.
  3. Enjoy enhanced efficiency in CI builds with the integration of FlyCI's MacOS runners.
jobs:
 ci:
-    runs-on: macos-latest
+    runs-on: flyci-macos-large-latest-m1
   steps:
   - name: 👀 Checkout repo
     uses: actions/checkout@v4

We'll be very happy to have you on board.

@DelevoXDG DelevoXDG deleted the feat/310-macos-aarch64-ci branch February 5, 2024 06:19
@DelevoXDG DelevoXDG restored the feat/310-macos-aarch64-ci branch February 5, 2024 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use aarch64 MacOS on CI
3 participants