Commit Graph

8 Commits

Author SHA1 Message Date
Patrick Boettcher
848bf758c7
use cmake 3.25 for runners (#296) 2023-09-22 15:28:07 +02:00
Cristian Le
0d60d48a58
Modernize cmake script (#262)
* Remove travis file
* Apply pre-commit fixes
* Modernize cmake file

- Added JSON_VALIDATOR_SHARED_LIBS to properly handle shared-library
- Bumped minimum cmake to 3.11 to use no-source add_library
- Bumped minimum cmake to 3.14 to properly support FetchContent (FetchContent_MakeAvailable)
- Converted Hunter package manager to FetchContent (It is plenty mature these days)
- Added namespace to exported target
- Made the cmake file compatible with FetchContent

* Use simplified FetchContent CI
* Add simple status messages
* Handle nlohmann dependency

Not an ideal approach, but required in order for the exported target to have appropriate linkage.
Maybe this can be designed to become a PRIVATE link library, but then how does it ensure the target is installed?

* Remove CMake-install test

This will be moved to packaging integration tests

* Enable code coverage

* Reconfigure ci presets

Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2023-05-11 12:07:56 +02:00
Cristian Le
9360910c3d
Reconfigure CI (#259)
* Add basic presets
* Add basic pre-commit
* Reconfigure github action

- Enforce pre-commits
- Move conan to CD workflow
* Add simple instructions for pre-commit
* Simplify action CIs
* Add coverage CI

Temporarily disabled until setup internally

Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
2023-05-10 19:49:27 +02:00
Erwin Nindl
0efd3ae507 Build conan package with Github actions 2022-09-03 09:22:23 +02:00
res0nance
c7325ae932 ci: update build container to v2.4.0 2022-09-01 20:07:44 +02:00
res0nance
87252bb5ce ci: add CI for the minimum supported version 2022-08-24 18:59:13 +02:00
res0nance
0bbb0da522 ci: run on main branch and update nlohmann-json version 2022-08-24 18:59:13 +02:00
qvfh83
cc05de9327
Create basic github-actions workflow (#175)
Added basic workflow.
2021-10-10 18:37:03 +02:00