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

How to increase memory/cpu dedicated to container? #70

Closed
ericdallo opened this issue Feb 6, 2022 · 5 comments
Closed

How to increase memory/cpu dedicated to container? #70

ericdallo opened this issue Feb 6, 2022 · 5 comments

Comments

@ericdallo
Copy link

I'm compiling something heavy on this action, I'd like to use all memory/cpu from github runner, how to achieve that?

@martin-g
Copy link
Contributor

Why do you believe the Docker container started by the action uses less resources ?
Unless you specify some limits in your dockerRunArgs it must use all available resources.

@ericdallo
Copy link
Author

Sorry for not clarrifying, I used this action for some time on clojure-lsp to compile it to graalvm on aarch64, and the action take ~1h-15m while other builds take 10-15mins
https://github.com/clojure-lsp/clojure-lsp/actions/runs/3191211682/jobs/5207278718

@martin-g
Copy link
Contributor

martin-g commented Oct 30, 2022 via email

@ericdallo
Copy link
Author

I see, so it's a QEMU limitation, maybe we should mention it somewhere on the readme?

@uraimo
Copy link
Owner

uraimo commented Nov 1, 2022

Here :) https://github.com/uraimo/run-on-arch-action#architecture-emulation

@uraimo uraimo closed this as completed Nov 1, 2022
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

No branches or pull requests

3 participants