From the course: Advanced C++: Building Projects with CMake

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Continuous integration considerations

Continuous integration considerations - C++ Tutorial

From the course: Advanced C++: Building Projects with CMake

Continuous integration considerations

- [Instructor] In this final video of our module on build automation, we'll discuss integrating our CMake project with continuous integration in short CI systems. Continuous integration is about automatically building and testing your code whenever changes are made. This helps catch issues early and ensures your project remains in a working state. This topic is vast, but I'll keep it practical and focused on the basics you need to know. The good news is that if you followed along with our course so far, your CMake project is already well suited for CI. We've used clear build options, like image light build tests to control build features, we've organized our project with clear dependencies, and we've integrated Ctest, making it easy to run tests automatically. I've created a file in the GitHub Workflows folder called build.yml. You can find it in our project's root directory. It contains a basic configuration for GitHub Actions, a popular continuous integration service. The simple…

Contents