You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't explain the first one. I can compile examples locally even with defmt enabled and that shouldn't currently be possible - my pet project breaks "as expected".
For the second one, it looks like cargo check is insufficient to detect some errors.
The text was updated successfully, but these errors were encountered:
bugadani
changed the title
CI is not able to catch breaking errors
CI is not able to catch some breaking errors
Sep 26, 2023
We used cargo check before because the only linker errors that really happened previously were due to the image formats, and we had explicit cargo build checks for these. I think it might be time to just use cargo build everywhere now, though, given that there are plenty of other sources of linker errors.
CI has long been a thorn in my side, and we have re-written it a couple times now. Maybe we need to spend some time thinking about how we can improve this process and make it less prone to human error and bitrot
We have completely reworked our CI workflow at this point, and while there are still some lingering issues I think most/all of them have their own issues. So, I hope this has been mostly resolved in the meantime, and I'm going to go ahead and close it.
As usual, if you feel this is the wrong thing to do then please feel free to re-open this issue or create a new one.
In the past week, the following build errors have been introduced with green CI:
defmt
enabled: https://github.com/MabezDev/esp-hal/blob/b910e871ef9d1661c9a81104ca18be24a56573dc/esp-hal-common/src/lib.rs#L166embassy-time-systick
andasync
are now incompatibleI can't explain the first one. I can compile examples locally even with defmt enabled and that shouldn't currently be possible - my pet project breaks "as expected".
For the second one, it looks like
cargo check
is insufficient to detect some errors.The text was updated successfully, but these errors were encountered: