-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
Generate CI runners for build matrix dynamically #483
Conversation
# If only free runners are allowed, reduce to a subset | ||
if args.free_runners: | ||
runners = { | ||
runner: runner_config | ||
for runner, runner_config in runners.items() | ||
if runner_config.get("free") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can hook this up for forks, #431
# If `run` is in the config, use that — otherwise, default to if the | ||
# runner architecture matches the build architecture | ||
"run": str(config.get("run", runners[runner]["arch"] == arch)).lower(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once we do #431, we might not have access to the runners needed for run
. We'll have to do something a bit more complicated for PGO targets in that case but I don't handle this here.
# TODO: Enable this runner to perform native builds for aarch64 | ||
# depot-ubuntu-22.04-arm: | ||
# arch: aarch64 | ||
# platform: linux | ||
# free: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next, I'm going to try to enable PGO on aarch64 linux with this runner
No description provided.