Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.09 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.09 KB

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