-
Notifications
You must be signed in to change notification settings - Fork 214
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 packages with nightly for RISC-V devices #1881
Conversation
2313c76
to
931e86b
Compare
0a72008
to
1bf9f50
Compare
IMO if this is how we're going to structure the workflow then we should extract the common bits into a local action. There is a ton of duplication right now and I can almost guarantee the two jobs will fall out of sync eventually. |
I agree with Jesse, in fact we already have the nightly toolchain on the normal esp-hal job: esp-hal/.github/workflows/ci.yml Line 81 in 81f3776
|
Ive just squashed the |
By doing it the way I suggested, can we still allow the nightly steps to fail? If not then we likely will need to split it into a separate action and re-use. |
f3b5572
to
fc5c06f
Compare
Should be possible to fail on |
Also curious, we had previously discussed just running the nightly checks once per day rather than for each CI workflow run. Why have we decided to deviate from that plan? |
fc5c06f
to
2466973
Compare
AFAIK, we didn't reach a decision, so I experimented with this approach but, as mentioned in the PR description, I'm happy to move into another workflow. I don't have any hard preference, but what could happen is that we completely ignore the nightly workflow (which can also happen with having it included in the main workflow, but could be easier to check) Also, just noticed that if we end up going this approach we should update the required checks as it now includes the toolchain in the job name. |
5787b37
to
54145b8
Compare
54145b8
to
b691090
Compare
809d6a5
to
6268510
Compare
fde8ea4
to
3481ab8
Compare
38b034f
to
4f520e5
Compare
Added a new workflow for the nightly checks and gathered the common logic into an action. Here is a run of the nightly CI: https://github.com/esp-rs/esp-hal/actions/runs/10267836036 |
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, thanks!
Sorry this is kind of nit-picky, but I am not a huge fan of the name |
Agree, the name was confusing, Im not happy with |
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 for this!
* ci: Check pacakges with nightly * ci: Remove duplication * perf: Nightly clippy fixes * revert: Revert unsafe changes * ci: Use an action to remove duplication * ci: Update trigger conditions * ci: Update S2 serial port * ci: Rename action
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
Adds a
nightly
job which can fail that builds and lints the packages for RISC-V devices withnightly
channel. I've added the job in the same workflow, as the total time got a bit better (~15 mins to the current ~ 17, and we are now on 21 jobs butrustfmt
job is really fast), happy to move into a standalone workflow if we think its better.Testing
CI Run: https://github.com/SergioGasquez/esp-hal/actions/runs/10157891170