only run ci jobs for changed files - #5354
Conversation
|
@rustbot ready |
|
@JohnTitor could u please review it |
This comment has been minimized.
This comment has been minimized.
|
|
could u please reivew this @weihanglo |
dc4577a to
d4990e8
Compare
|
Please be patient awaiting reviews, it can take a few weeks. No need to ping maintainers. |
sorry next time it wont happed |
There was a problem hiding this comment.
This will be a nice change for anyone working on a specific target, but I think we should go about it differently. Instead of doing some tricky things skipping steps with groups, I'd rather the python file generate the the T1, T2, and T2 VM matrices directly. That should have a cleaner CI file and also make it more clear which jobs actually got ran (as opposed to showing a green check but not actually doing something).
For an example see matrix generation at https://github.com/rust-lang/compiler-builtins/blob/9f542c0f7d9cf80949797a6212162c3d84aceffb/.github/workflows/main.yaml#L26-L49 and the use at https://github.com/rust-lang/compiler-builtins/blob/9f542c0f7d9cf80949797a6212162c3d84aceffb/.github/workflows/main.yaml#L385-L391. I'd like to keep things in libc looking somewhat similar to those.
Also important note, we need to run the complete CI in the merge queue regardless of what's changed.
|
Reminder, once the PR becomes ready for a review, use |
a72f3db to
556b895
Compare
This comment has been minimized.
This comment has been minimized.
4d23e84 to
8e8167c
Compare
I updated the CI script, |
|
@rustbot ready |
There was a problem hiding this comment.
Since this is changing quite a bit, let's shrink the scope. Could you drop everything related to autodetecting which files indicate which target changes? I.e. get things working exactly as they currently are but using the python script rather than matrix.
Detecting what to run can come in a followup.
okee then i will dropp allthe file→target autodetection and just generate all the T vm matrices via the Python script make it exactly same,then detection aprt in nexrt pr |
|
@rustbot ready |
There was a problem hiding this comment.
Rename ci-util.py to match compiler-builtins
This comment has been minimized.
This comment has been minimized.
490b0fa to
be8c7ff
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
closes #3445