Giter Site home page Giter Site logo

Comments (13)

Sudo-Guy avatar Sudo-Guy commented on May 20, 2024 1

Sure, sounds good.

from blazingmq.

Sudo-Guy avatar Sudo-Guy commented on May 20, 2024

I can pick this up. Just to clarify we want to take advantage of the M1 runners to see if blazingmq builds via the darwin build script successfully?

from blazingmq.

678098 avatar 678098 commented on May 20, 2024

I can pick this up. Just to clarify we want to take advantage of the M1 runners to see if blazingmq builds via the darwin build script successfully?

Hi @Sudo-Guy! That is correct, need to implement a check for the darwin build script using M1 or M2 (if available) GitHub Runner.
Will assign it to you then. Thanks!

from blazingmq.

678098 avatar 678098 commented on May 20, 2024

Hi @Sudo-Guy! Do you plan working on this?

from blazingmq.

Sudo-Guy avatar Sudo-Guy commented on May 20, 2024

I'll get around to it this weekend. A minor issue is that I need access to an ARM Mac machine right now, and free runners are unavailable.

from blazingmq.

678098 avatar 678098 commented on May 20, 2024

Thanks for the latest info @Sudo-Guy. Yes, indeed, they opened larger runners only, which are not free, on the 2nd of October, after this issue was opened.
https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/
Don't know if we want to pause this task then. Will discuss it on our side and return.

from blazingmq.

678098 avatar 678098 commented on May 20, 2024

@Sudo-Guy it seems that it's not possible to use free M1/M2 runners right now.
actions/runner-images#8439 (comment)

We discussed it and decided to wait until/if free Darwin runners are available.
In the meantime, we think it's still a good idea to check if build is okay on amd64 intel MacOS.

Could you add this workflow? macos-latest runner should work for now

from blazingmq.

kgantchev avatar kgantchev commented on May 20, 2024

...if free Darwin runners are available.

Might I make a suggestion? Feel free to use FlyCI's M1 and M2 runners. Our runners are on average 2x faster and 2x cheaper than GitHub's AND we have a free tier for OSS projects (see below).

Install Instructrions

Easily replace your M1 runners:

jobs:
 ci:
-    runs-on: macos-latest
+    runs-on: flyci-macos-large-latest-m1
   steps:
   - name: 👀 Checkout repo
     uses: actions/checkout@v4

Or try the M2 runners:

jobs:
  ci:
-    runs-on: macos-latest
+    runs-on: flyci-macos-large-latest-m2
    steps:
      - name: 👀 Checkout repo
        uses: actions/checkout@v4

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 -

500 mins/month Free for Public Repos

If your repo is public, then FlyCI offers 500 mins/month of free M1 runner usage with the flyci-macos-large-latest-m1 runner.

Best Regards,
Kiril Gantchev
CEO and co-founder of FlyCI

from blazingmq.

678098 avatar 678098 commented on May 20, 2024

Hi @kgantchev! Thank you for the suggestion. The proposed option is great for small open source projects. However, we have many developers who actively make changes in the repo.

Some calculations. The free quota is 500 min, consider M1/M2 runner time 20 min for each CI launch. With these assumptions, the quota will be exceeded after ~25 CI launches.

This means:

  • On PR checks - exceed the quota, because we have >25 PR updates per month.
  • Daily main branch checks - exceed the quota, because 25 is less than a number of days in month.
  • Weekly main branch checks - fit the quota.

In conclusion, weekly checks could be performed, which could be good enough for us. I will discuss it with the team.

from blazingmq.

678098 avatar 678098 commented on May 20, 2024

GitHub Actions: Introducing the new M1 macOS runner available to open source!

https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/

from blazingmq.

678098 avatar 678098 commented on May 20, 2024

Hi @syuzvinsky, could you do this when you have time?

from blazingmq.

pniedzielski avatar pniedzielski commented on May 20, 2024

For reference, this is how memray has done it.

from blazingmq.

678098 avatar 678098 commented on May 20, 2024

#205

from blazingmq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.