Main / News / CONAN, Tests and packages
The CONAN package manager is supported by the GATE
framework since years.
And each CI build produces a new package on
Codeberg’s CONAN remote for the X64 Linux platform.
Powered by CMake, the CONAN build pipeline provides an automated test facility.
Unit tests executed by CMake’s CTest are available for a long time, but automated execution was disabled by default, as most targets are built via cross-compiling, so test binaries cannot be executed at all.
Adding another build job for X64 Linux with tests enabled is possible, but adds an additional long-running build for all external components.
CONAN builds can operate with prebuilt results from the local cache, so rebuilding the framework is stripped down to the smallest possible footprint.
Windows builds]); LINUX([Full CMake
Linux builds]); OTHER([Other builds]); CONANTEST([CONAN Test build]); CONANCREATE([CONAN Create build]); PACK(Source & binary
package); TEST(Test
execution); ARTIFACTS[(Output artifacts
upload)]; COMMIT --> LINUX COMMIT --> WIN COMMIT --> CONANTEST COMMIT --> CONANCREATE COMMIT --> OTHER CONANTEST --> TEST CONANCREATE --> PACK WIN --*.dll
*.exe--> ARTIFACTS LINUX --lib/*.so
bin/*--> ARTIFACTS TEST --Test
reports--> ARTIFACTS PACK --Conan
Package--> ARTIFACTS OTHER --native
binaries--> ARTIFACTS
With an updated docker image containing default dependencies, building the framework is fast and free resources can be spent on running tests and code-coverage analysis.