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

Provide pre-built Macbook M1 binaries #30

Open
mmomtchev opened this issue Mar 15, 2022 · 21 comments
Open

Provide pre-built Macbook M1 binaries #30

mmomtchev opened this issue Mar 15, 2022 · 21 comments
Labels
funding Needs funding

Comments

@mmomtchev
Copy link
Owner

Waiting on actions/runner-images#2187

@mmomtchev mmomtchev added the funding Needs funding label Sep 12, 2022
@mmomtchev
Copy link
Owner Author

I am looking for a company willing to cover the costs of renting a remote Apple M1 host in order to provide support for the new Apple Macbooks. If paying by the hour, you should expect about 1 or 2 days of uptime per month.

@alexcroox
Copy link

If anyone is looking for a workaround to get this running locally on M1 Macs:

brew install gdal
npm install gdal-async --build-from-source --shared_gdal

@jdesboeufs
Copy link

If you are still interested I can cover these costs with my company.
A Mac Mini M1 (by Scaleway) may do the job?

@mmomtchev
Copy link
Owner Author

Yes, a Mac Mini M1 by Scaleway would be perfect, I would need a day or two to make it work and certainly less than a day per month for further testing and development.

@jdesboeufs
Copy link

Sadly they are currently out of stock. I will keep you informed.

Capture d’écran 2022-12-12 à 21 19 56

@radoslavirha
Copy link

Hi,

any progress in M1 build?

Thanks!

@jdesboeufs
Copy link

Sadly Scaleway doesn't provide M1 instances anymore :(

@utix
Copy link

utix commented Jul 12, 2023

Can any ARM VM do the job ?

@thom4parisot
Copy link

thom4parisot commented Jul 12, 2023

Sounds like it's on GitHub roadmap for Q3 Q4. There used to be a beta access but the link is not working anymore.

Can any ARM VM do the job ?

It should, as long as it can be registered as a GitHub Action self-hosted runner.

@jdesboeufs aaaand it sounds like Scaleway offers M1 mini again.

@jdesboeufs
Copy link

Capture d’écran 2023-09-29 à 11 49 38

@thom4parisot Not in the dashboard.

@alexcroox
Copy link

actions/runner-images#8439

GitHub action M1 support is now available

@mmomtchev
Copy link
Owner Author

Github actions support has been available for some time now, but porting without being able to build locally is not really feasible

@mmomtchev
Copy link
Owner Author

I would just like to remind everyone that I work for free, I have a $2.50 budget per meal and that the French police is intimidating me while all of the users of this project are showing me with random messages that they fully back this extortion.

If anyone wants M1 binaries, you will have to pay for a M1 host.

@thom4parisot
Copy link

And are you okay with receiving a physical Mac Mini? I suppose it can be setup as a GitHub runner.

I'm happy to contribute to buying/delivering it. If anybody want to tag along 👍🏻

@mmomtchev
Copy link
Owner Author

Of course that I am, I will support M1 if I can have a build host.

@zy6p
Copy link

zy6p commented Dec 19, 2023

Adrressed as actions/runner-images#8439 and M1 is now available!

@mmomtchev
Copy link
Owner Author

I still need a build host that I can access to implement the support.

@mmomtchev
Copy link
Owner Author

It is a pity that most of my users are cheeky criminals who decided to slide with somebody who was extorting me for money (and a particularly distasteful to mention here problem) with the help of the French judiciary and the police against someone who was making them free software. If you want M1 binaries, you will have to find $5/month. Period.

@lautarodapin-magoya
Copy link

If anyone is looking for a workaround to get this running locally on M1 Macs:

brew install gdal
npm install gdal-async --build-from-source --shared_gdal

how do i use this with pnpm

@kgantchev
Copy link

Adrressed as actions/runner-images#8439 and M1 is now available!

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 2x faster and 2x cheaper MacOS workflow runs!
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.

@mmomtchev
Copy link
Owner Author

As you may have seen from my profile, I am currently living on social welfare because of an extortion involving the French police and judiciary about a series of false criminal proceedings - in order to intimidate me people are posting simultaneously comments and issues on my projects - your is simultaneous with a PR from snyk which seem to have accepted to back the intimidation.

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

No branches or pull requests

9 participants