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: 364
Joined: Mon Oct 29, 2012 3:17 am
Location: Jersey City, USA
Has thanked: 16 times
Been thanked: 14 times

Github actions are amazing any interest to leverage?

Postby russian » Fri Jul 07, 2023 5:40 am

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.
http://rusefi.com/ - electronic fuel injection

User avatar
Giovanni
Site Admin
Posts: 14458
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Github actions are amazing any interest to leverage?

Postby Giovanni » Fri Jul 07, 2023 10:39 am

Hi,

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

Giovanni

User avatar
russian
Posts: 364
Joined: Mon Oct 29, 2012 3:17 am
Location: Jersey City, USA
Has thanked: 16 times
Been thanked: 14 times

Re: Github actions are amazing any interest to leverage?

Postby russian » Fri Jul 07, 2023 2:11 pm

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.
http://rusefi.com/ - electronic fuel injection

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

Re: Github actions are amazing any interest to leverage?

Postby faisal » Fri Jul 07, 2023 5:50 pm

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: 364
Joined: Mon Oct 29, 2012 3:17 am
Location: Jersey City, USA
Has thanked: 16 times
Been thanked: 14 times

Re: Github actions are amazing any interest to leverage?

Postby russian » Fri Jul 07, 2023 6:01 pm

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.
http://rusefi.com/ - electronic fuel injection

User avatar
Giovanni
Site Admin
Posts: 14458
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Github actions are amazing any interest to leverage?

Postby Giovanni » Fri Jul 07, 2023 6:33 pm

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

Giovanni

User avatar
russian
Posts: 364
Joined: Mon Oct 29, 2012 3:17 am
Location: Jersey City, USA
Has thanked: 16 times
Been thanked: 14 times

Re: Github actions are amazing any interest to leverage?

Postby russian » Fri Jul 07, 2023 6:44 pm

TL,DR: what is the URL to see last green stable_20.3.x commit?
http://rusefi.com/ - electronic fuel injection

User avatar
Giovanni
Site Admin
Posts: 14458
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Github actions are amazing any interest to leverage?

Postby Giovanni » Fri Jul 07, 2023 6:56 pm


User avatar
russian
Posts: 364
Joined: Mon Oct 29, 2012 3:17 am
Location: Jersey City, USA
Has thanked: 16 times
Been thanked: 14 times

Re: Github actions are amazing any interest to leverage?

Postby russian » Fri Jul 07, 2023 7:02 pm

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
http://rusefi.com/ - electronic fuel injection

User avatar
russian
Posts: 364
Joined: Mon Oct 29, 2012 3:17 am
Location: Jersey City, USA
Has thanked: 16 times
Been thanked: 14 times

Re: Github actions are amazing any interest to leverage?

Postby russian » Fri Jul 07, 2023 7:03 pm

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.
http://rusefi.com/ - electronic fuel injection


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 10 guests