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

Optimize GitHub Actions billable time #1

Open
memcorrupt opened this issue Nov 8, 2024 · 0 comments
Open

Optimize GitHub Actions billable time #1

memcorrupt opened this issue Nov 8, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed wontfix This will not be worked on

Comments

@memcorrupt
Copy link
Member

NOTE: This issue probably may never be relevant since this repository uses the free tier of GitHub Actions.

Currently, the matrix build used here only takes ~10 seconds per build. Since GitHub actions rounds up billable time to the nearest minute per runner, we end up incurring significantly more billable time than actually used. This can be resolved by combining some of these jobs (e.g, all Lua 5.x builds for a certain OS can be grouped into one sequential job instead of queuing them concurrently).

Additionally, since Linux runners are cheaper than Windows runners, and Windows runners cheaper than macOS runners, billable time could be further optimized by cross-compiling on cheaper runners.

Also, better usage of all of GitHub actions cores could make each compilation run faster (usingmake -j option).

@memcorrupt memcorrupt added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed wontfix This will not be worked on labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant