Add a simple CI
Description
This adds a simple CI that's able to:
- Compile the software, including the RPC modules
- Run the tests
- Check the formatting style
- 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.