-
Notifications
You must be signed in to change notification settings - Fork 18
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
does not work on macOS #106
Comments
Seems like the date command behaves differently on macOS |
Thanks for submitting an issue! Jap, we sadly do not support macOS at the moment. For reference, this is also stated in: https://github.com/green-coding-solutions/eco-ci-energy-estimation?tab=readme-ov-file#limitations--compatibility Did you spot a mismatch somehwere , where we may false-advertised that macOS is supported? If so please send us a link so we can update that.
If you are keen on supporting this project and taking on a PR we are happy to help. Let me know :) |
I think this can be closed |
I would keep it open. I would see this as an open issue. Even if we currently have no timeframe when to support it |
Hey @michaellilltokiwa , we add first beta support for macOS! If you are still keen on trying out we would really like you as beta tester and feedback provier. Any interest ? :) https://github.com/green-coding-solutions/eco-ci-energy-estimation/releases/tag/v4.3.0 |
@ArneTR Cool, I tested it: Results seem to be way off though? |
Thanks for trying it out so quickly! Yeah, the numbers are way off :) Partially expected, as in the beta we have so far not set a reasonable power profile, so it should default to a full bare metal box. Thanks for the support! |
We just pushed a new version with:
And I fixed the bug that was causing these absurd high values. Happy for feedback! Commit hash for newest version on main is: 683e179 |
One addon: Sadly GitHub Actions has now way of determining the selected runner at runtime. Thus, since you are not using the default linux runner you must tell Eco-Ci which runner you are using. See how we do it here:
The flag is "machine-power-data" and in your case must be "macos-14-mac-mini-m1.sh" |
@ArneTR The numbers seem to more realistic now, 40000J for one run. Thanks for investigating. It would be cool to be able to get details on how the numbers where calculated, especially which assumptions are used. Also, personally I have more of a feeling for kwh, Joule I have to first convert. Maybe add that info? |
Jap, that's a good idea. I will add this functionality in two places:
Find the Issues tracking it here:
In case you feel that macOS support is sufficient now please close the issue. Or follow up with a request :) |
Cleaned label: build docs
cat: /tmp/eco-ci/timer-step.txt: No such file or directory
/Users/runner/work/_actions/green-coding-solutions/eco-ci-energy-estimation/86f1b2ee12db687bca0d15160a529bb64a7b60d9/scripts/make_measurement.sh: line 44: 17308967776N: value too great for base (error token is "17308967776N")
Error: Process completed with exit code 1.
The text was updated successfully, but these errors were encountered: