fix Github Action build Firmware#579
fix Github Action build Firmware#579JF002 merged 2 commits intoInfiniTimeOrg:developfrom mabuch:fix-github-build
Conversation
|
Thanks for your PR, @mabuch . However, there are already a bunch or PRs trying to fix these build issues on Github Actions. I grouped them into the CI project. As I don't know Actions very well, I'm not sure which PR I should merge and why. Some time ago, I tried to focus on #333 as it provides added value (summary of memory map changes), but the creator of this PR didn't answer my question (probably because I took too much time to review it) and I forgot about it. Sooo if you have any opinion on these PR, I'm interested :) |
|
Hi @JF002 At least one suggested improvement mentioned in the comments from PR #333 should be applied and is missing here, but I have not looked at the added function yet (which was the main selling point for #333). I should mention that I am by no means an expert on Github Actions, this is my first time working with them. But I am willing to dig through documentation and the mentioned reviews. I will try get back to you in a few days with a consolidated view on all PR regarding the Github Action firmware build. |
|
You shouldn't just copy other peoples changes here, because then we would just have many PRs that do the same thing. You should first help the other PRs by reviewing them. |
|
@JF002, I was quicker than expected going through the other PR; here are my findings #145 is fully resolved with this PR; this PR applies the proposed solution from #333 and #534 from @T0RAT0RA which is in my view cleaner than the one from #145 (I did not see the solution from @T0RAT0RA before but upon my research came to the same conclusion). #413 is a duplicate and solves one of the problem also resolved by #145, #333, #534 and this PR #414 is mostly also discussed in #333, #534, #294 and this PR. Additionally #414 proposes to also increase the used version of cmake. I have not found any necessity to do so, therefore I have not included it. #126 proposed other triggers on when to run the Github action (other PR include changes on the triggers as well, but none of the others brings forward a reason why they changed the triggers). I have not touched the triggers, as this is not a technical issue. I do not see any urgent need to change the triggers, therefore I avoided this debate and kept it on the technical aspects (I do not know neither the best practices nor the project-specific desired times when this build should be run). Therefore my PR does not solve this, but it seems that so far only @AirHamster sees this as a problem. In summary: This PR additionally to previous suggestions also removes some (now) unnecessary steps that are performed by cmake anyhow (I guess the cmake script was updated in the meantime). I would therefore suggest to go forward with this PR regarding the broken build. The proposed additional feature of #333 seems nice, but it is additional functionality. Everything needed to make the build run again is taken into consideration with this PR; I find it best to keep the additional functionality separate. I will look at #333 it in the upcoming days and then either add to #333 or send a new PR with the functionality proposed there. It would further complicate things to mix them, therefore I propose to accept this PR, close #145, #294, #413, #414, and #534 as they will be resolved after this and treat #333 as a feature proposition. |
|
@Riksu9000 yes I understand this, but it there are already quite a lot of duplicates (see my summary above). Additionally there already is a ton of reviews on these original PR, but the authors of the PR never came to update their PR based on the suggestions from the reviews. Therefore I propose to use this PR to resolve the broken build (and only the broken build) and close #145, #294, #413, #414, and #534 as they overlap quite significantly. However if you think it would be better to close my PR as duplicate and continue working with one or all of the other PR I will be happy to oblige. |
|
Yeah in this case it isn't a big issue as the changes seem very small. I wasn't sure what all needed to be done because I know nothing about Github Actions. This PR seems small, simple and clean and if it fixes all issues then I think its fine. |
|
@mabuch Thank you so much for your thorough analysis. I decided to merge your branch to finally make the Github CI work again :) This will allow other contributors to add features or improve them without fixing it again and again. My apologies to everyone who (tried to) contribute to this CI workflow! |
This fixes the github Action for Firmware building.
It is largely based on pull request #294 from nanch (which I critically reviewed).
There are a few small differences:
This is my first pull request ever, in case I should do something different next time, please provide me with feedback.
Thanks