C and C++ languages together have one of the largest, if not the largest, shares among the programming languages, and are used in many important industries: embedded, finance, research, robotics, gaming, etc. However, those languages have traditionally lacked a widely used package manager, and then, every project deploys their own custom tools for managing code reuse, as well as for project automation and continuous integration, with very high costs in terms of money, time and human resources.
Now with Artifactory, its support for the Conan C/C++ package manager, and the integration with Jenkins CI, it is possible to define an effective and automated DevOps process for C and C++ projects, that will efficiently manage binary creation, testing and reutilization, so important in typical huge projects developed in C and C++, as well as binary generation and reuse for multiple platforms, compilers and configurations.
First, the challenges of Package Management, Continuous Integration and DevOps for C/C++ will be introduced. Then, it will introduce the basics of Conan C/C++ package manager, how it is integrated with Artifactory, and how can it be used to generate and reuse C/C++ packages. Then, how to deploy a Continous Integration system with Jenkins CI, and integrate everything together. A simple, but complete setup will be explained and demo’ed.