Skip to content
/ ci-tools Public

Continous integration toolkit for use with CMake written in Python

License

Notifications You must be signed in to change notification settings

h-s-c/ci-tools

Repository files navigation

ci-tools

license

Continous integration toolkit for use with CMake written in Python.

Install

Add ci-tools to your project.

git submodule add https://github.com/h-s-c/ci-tools

CI pipeline usage

Install local CMake (Only really useful if you don't control your CI environment).

ci-tools/install_cmake.py

Run tests defined in your CMakeLists.txt. Optionally detects and uses static and dynamic analyzers like Valgrind, AddressSanitizer, MemorySanitizer, ThreadSanitizer, UndefinedBehaviorSanitizer if available in your CI environment. Uploads your results to a CDash dashboard if you provide a CTestConfig.cmake in your project folder.

export CC=gcc
ci-tools/run_ctest.py

On windows its something like this:

call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
set CC=cl
ci-tools/run_ctest.py

Package your app if you provide a CPackConfig.cmake in your project folder.

ci-tools/run_cpack.py

About

Continous integration toolkit for use with CMake written in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published