Skip to main content
YKuo.1
Associate II
June 27, 2022
Solved

GitHub actions integration

  • June 27, 2022
  • 5 replies
  • 6942 views

Hi,

I'm looking into utilizing GitHub actions for CI/CD. I couldn't find any examples of how to use GitHub actions to build a STM32CubeIDE project automatically. Any hints/directions?

Thanks,

Best answer by Markus GIRDLAND

In STM32CubeIDE go to the menu "Help->Eclipse Marketplace..." and then look for and install "EGit - Git Integration for Eclipse" 

After you have installed, when you right click on the project to see the project properties, you can find the menu entry "Team" which contains the Git stuff.

You can also start CubeIDE with -unhideTeamSynchronizing if you prefer.

For more info about how to use GitHub I would suggest this website.

5 replies

Markus GIRDLAND
Markus GIRDLANDBest answer
ST Employee
June 29, 2022

In STM32CubeIDE go to the menu "Help->Eclipse Marketplace..." and then look for and install "EGit - Git Integration for Eclipse" 

After you have installed, when you right click on the project to see the project properties, you can find the menu entry "Team" which contains the Git stuff.

You can also start CubeIDE with -unhideTeamSynchronizing if you prefer.

For more info about how to use GitHub I would suggest this website.

Javier1
Principal
January 11, 2023

Very interesting question, i am researching how to use github actions to Static test my code and compile in their cloud every commit.

hit me up in https://www.linkedin.com/in/javiermuñoz/
YKuo.1
YKuo.1Author
Associate II
January 12, 2023

Hi Javier

I found an alternative method.

STM32CubeMX could generate a makefile, which is easier to work with Github actions. However, the auto-generated makefile doesn't work straight out of the box. Some minor tweaks are required to compile the project. Hope this helps.

Ye-Sheng​

sk.8
Visitor II
May 11, 2023

Hi YKuo.1 i am very interesting to know how you are done cicd. presently we are doing build using make file locally not with cubemx. my project repo don't have ioc file. using the same how we can build in github action. i am new to github can you please help me thanks

Visitor II
May 7, 2024
Visitor II
November 22, 2024

Would it be possible to share the solution ?

Javier1
Principal
December 2, 2024
hit me up in https://www.linkedin.com/in/javiermuñoz/