Page 1 of 2

Github actions are amazing any interest to leverage?

Posted: Fri Jul 07, 2023 5:40 am
by russian
Github offers Actions for free - i.e. they would compile code and display either green checkmark like https://github.com/rusefi/ChibiOS/tree/master-ci or red icon like on https://github.com/rusefi/ChibiOS/tree/stable_20.3.x-ci

https://github.com/ChibiOS/ChibiOS/comm ... dd3f9f252a would be an example of a trivial action - here we install arm gcc and well, see if specific demo compiles or not. Is there any interest to add a bit of continues integration using github actions? Let me know if I can help by adjusting the example in any way to make it official.

No idea if weare overthinking it by having our own copy of gcc in a special repo but well, we do - we have a special repo just for gcc distro so that we are not DDoSing arm servers. github is perfectly fine persisting large files like gcc archive.

Re: Github actions are amazing any interest to leverage?

Posted: Fri Jul 07, 2023 10:39 am
by Giovanni
Hi,

We have been using Jenkins for a while now: https://ci.chibios.org/

Giovanni

Re: Github actions are amazing any interest to leverage?

Posted: Fri Jul 07, 2023 2:11 pm
by russian
Please configure Jenkins to post results into github. Jenkins can control same green/red icon, this way consumers would know which commits do not compile at all.

Another technique if stable branches are desired would be a pre-commit hook i.e. rejecting commits if those break CI.

Re: Github actions are amazing any interest to leverage?

Posted: Fri Jul 07, 2023 5:50 pm
by faisal
russian wrote:Please configure Jenkins to post results into github. Jenkins can control same green/red icon, this way consumers would know which commits do not compile at all.

Another technique if stable branches are desired would be a pre-commit hook i.e. rejecting commits if those break CI.


Giovanni doesn't use GitHub. Those are unofficial repos.

Re: Github actions are amazing any interest to leverage?

Posted: Fri Jul 07, 2023 6:01 pm
by russian
faisal wrote:Those are unofficial repos.

https://github.com/ChibiOS/ actually says "This is the official Github page of the ChibiOS project"

I do not care if it's SVN or git. I am just saying that technology exists to display green/red status of branch with low effort and great user experience.

Re: Github actions are amazing any interest to leverage?

Posted: Fri Jul 07, 2023 6:33 pm
by Giovanni
It is an official mirror, the main repository is not there.

Giovanni

Re: Github actions are amazing any interest to leverage?

Posted: Fri Jul 07, 2023 6:44 pm
by russian
TL,DR: what is the URL to see last green stable_20.3.x commit?

Re: Github actions are amazing any interest to leverage?

Posted: Fri Jul 07, 2023 6:56 pm
by Giovanni

Re: Github actions are amazing any interest to leverage?

Posted: Fri Jul 07, 2023 7:02 pm
by russian
How do I see what is last non failing commit on https://sourceforge.net/p/chibios/code/ ... le_20.3.x/ ?

This is somewhat related to my argument that stable_20.3.x is pretty broken at the moment viewtopic.php?f=35&t=6255

Re: Github actions are amazing any interest to leverage?

Posted: Fri Jul 07, 2023 7:03 pm
by russian
For instance see https://github.com/rusefi/rusefi/commits/master

Note green and red icons. Some commits are green some commits are red. Sometimes red is false due to toolset limitations but at least there is an attempt to render state of each commit.