2022-06-26 08:15 PM
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,
Solved! Go to Solution.
2022-06-29 01:45 AM
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.
2022-06-29 01:45 AM
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.
2023-01-11 06:52 AM
Very interesting question, i am researching how to use github actions to Static test my code and compile in their cloud every commit.
2023-01-11 05:54 PM
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
2023-05-11 06:29 AM
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
2024-05-07 02:00 AM
You can have a look at https://github.com/marketplace/actions/build-stm32cubeide-project (source is available at https://github.com/xanderhendriks/action-build-stm32cubeide)
It uses a Docker image defined here https://github.com/xanderhendriks/docker-stm32cubeide/tree/master
2024-05-29 04:04 AM
Yup i ended up doing it with cubeMX generated makefile.
for me it works out of the box i just need to manually include every .c .h paths and names in the makefile-file
2024-11-22 07:50 AM
Would it be possible to share the solution ?
2024-12-02 01:25 AM
https://github.com/javiBajoCero/hall_detection_algoritm_TDD
check the .yaml file