Github actions are amazing any interest to leverage?

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Github actions are amazing any interest to leverage?

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Github actions are amazing any interest to leverage?

Post by Giovanni »

Hi,

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

Giovanni
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: Github actions are amazing any interest to leverage?

Post 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.
faisal
Posts: 382
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 45 times
Been thanked: 62 times

Re: Github actions are amazing any interest to leverage?

Post 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.
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: Github actions are amazing any interest to leverage?

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Github actions are amazing any interest to leverage?

Post by Giovanni »

It is an official mirror, the main repository is not there.

Giovanni
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: Github actions are amazing any interest to leverage?

Post by russian »

TL,DR: what is the URL to see last green stable_20.3.x commit?
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Github actions are amazing any interest to leverage?

Post by Giovanni »

User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: Github actions are amazing any interest to leverage?

Post 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
User avatar
russian
Posts: 368
Joined: Mon Oct 29, 2012 3:17 am
Has thanked: 16 times
Been thanked: 14 times

Re: Github actions are amazing any interest to leverage?

Post 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.
Post Reply