What would be the recommended approach for continuous integration?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What would be the recommended approach for continuous integration?

401 Views
javiercardona
Contributor III

Hello,

 

I would like to configure continuous integration for a KDS 3.0 project in gitlab.  The build machines are minimal Linux hosts that need to be configured before running each test suite. Right now I am checking in KDS-generated makefiles so I can build the project with bare arm-gcc.

This requires checking in the Debug/Release folders generated with KDS with all the *.mk files.

The test runner then just needs to apt-get install -qq gcc-arm-none-eabi prior to building the project with make.

This seems to work fine, as long as the makefiles do not contain any absolute paths.

 

Is this a good way to do this?

 

Best,

Labels (1)
1 Reply

286 Views
MarekTrmac
NXP Employee
NXP Employee

Hi Javier,

It is also possible to build code directly from KDS. See for example this blog for more information: https://mcuoneclipse.com/2014/09/12/building-projects-with-eclipse-from-the-command-line/

Regards,

Marek