Skip to content

Add a simple CI

Louis Moureaux requested to merge feature/ci into develop

Description

This adds a simple CI that's able to:

  1. Compile the software, including the RPC modules
  2. Run the tests
  3. Check the formatting style
  4. Build the Doxygen documentation and save it as an artifact

The only difference with respect to issue #24 (closed) is that no custom Docker image is used. Given how slow yum tends to be, this would certainly be an optimization; however the current code runs in less than 10 minutes, which is a good start.

This MR is certainly a step forward towards a working Docker image, because the installations step have been worked out. A custom image will raise additional questions: for instance, I think that we should run the tests on a system with the a minimal number of development packages (basically only cmake).

Related Issue

This was primarily motivated by Doxygen concerns in !7 (merged), but also requested in #24 (closed). The custom image requested in #24 (closed) can be created later from the setup commands found in the Gitlab CI configuration.

How Has This Been Tested?

Ran 111 pipelines in my own private repo.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
Edited by Laurent Petre

Merge request reports

Loading