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

Trying out the M1 github actions machines #5278

Closed
wants to merge 1 commit into from
Closed

Conversation

martinbonnin
Copy link
Contributor

No description provided.

@martinbonnin martinbonnin requested a review from BoD as a code owner October 3, 2023 17:51
@netlify
Copy link

netlify bot commented Oct 3, 2023

Deploy Preview for apollo-android-docs canceled.

Name Link
🔨 Latest commit dcc7ea3
🔍 Latest deploy log https://app.netlify.com/sites/apollo-android-docs/deploys/65265f8a2a2c260009c51b58

@martinbonnin martinbonnin marked this pull request as draft October 4, 2023 09:12
@martinbonnin
Copy link
Contributor Author

Converting to draft and will merge once the images have Android SDK and Chrome installed (see also actions/runner-images#8439)

@martinbonnin martinbonnin force-pushed the use-m1-machines branch 2 times, most recently from 1ac9680 to dcc7ea3 Compare October 11, 2023 08:40
@martinbonnin
Copy link
Contributor Author

Blocked by actions/runner-images#8516. Will reopen when that lands

@kgantchev
Copy link

kgantchev commented Jan 15, 2024

Blocked by actions/runner-images#8516. Will reopen when that lands

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants