-
Notifications
You must be signed in to change notification settings - Fork 221
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
Check all features and targets in CI when linting #1824
Conversation
67dfdb6
to
d0af72d
Compare
Reminder to myself: this PR has some breaking changes (enum renaming mostly) that needs a changelog entry |
This makes the clippy job take 16minutes, but I don't really see a way to reduce this. If we want everything checked, then it takes time. |
I think there is no way around that |
204cd30
to
989dbf8
Compare
On second review, I don't think this PR has any breaking changes, but please check my work :D |
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.
Thanks!
Haven't seen anything looking sus There is one warning:
|
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.
LGTM, left a nitpick suggestion, feel free to ignore. Thanks!
I think I might be able to trim some old CI jobs now as they should be covered by clippy. And provided we are still building the examples we should still detect linker issues. Let me try. |
147b703
to
7c27ff9
Compare
Hmm, that worked. Now I'm wondering if I can split the clippy job into the esp-hal matrix, which might make the clippy job quicker as most of the crate should be built? Let's see :D |
1be6508
to
514805f
Compare
It helped a little bit I think, it shaved a few minutes of some of the jobs at least. This is now ready for a final review. Before merging we need to remove the required checks on the jobs that no longer exist, and subsequent PRs should be rebased. Edit: this also nicely closes #1644 as we're now down to 18 jobs. |
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.
LGTM! I like the improvements, thanks!
514805f
to
eaab685
Compare
eaab685
to
fff707e
Compare
fff707e
to
5d9c44d
Compare
Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝
cargo xtask fmt-packages
command to ensure that all changed code is formatted correctly.CHANGELOG.md
in the proper section.Extra:
Pull Request Details 📖
Description
What this doesn't solve just yet:
all the packages, this mostly tackles esp-hal and esp-wifi, but I'd like 100% coverageI think this covers everything now, at the very least each package is built for each target.Closes #1644
Closes #1693