GitHub actions integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-26 8: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.
- Labels:
-
Github
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-29 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-29 1: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-11 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-01-11 5: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​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-11 6: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-07 2: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-29 4: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-22 7:50 AM
Would it be possible to share the solution ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-02 1:25 AM
https://github.com/javiBajoCero/hall_detection_algoritm_TDD
check the .yaml file
