NIRALUser / niral_utilities

NIRAL Utilities are open-source applications developped at UNC-Chapel Hill in the Neuro Image Research and Analysis Lab (NIRAL)
http://www.nitrc.org/projects/niral_utilities
Apache License 2.0
7 stars 12 forks source link

Prevent build-system regression setting up continuous integration #22

Open jcfr opened 6 years ago

jcfr commented 6 years ago

Summary

A year ago, a set of changes fixing build errors, removing the need for ITKv3 compatibility and ITKDeprecated, modernizing the build-system and streamlining the integration of niral_utitlies in project like Slicer was proposed by @jcfr and integrated by @styner. For reference, the full list of changes is reported below.

It turns out that 4a841de14d introduced a regression and inadvertently removed niral_utilitiesConfig.cmake file.

Thanks to @juanprietob and the version control history, the issue was fixed in 47d38ac497941e

Proposed solution

To avoid such issue from happening, I suggest to setup continuous integration for this project. A possible approach would be to use CircleCI to build the project, execute test and also try to configure a simple project using find_package(niral_utitlies REQUIRED)

Full list of changes

juanprietob commented 6 years ago

Sounds like a plan, how do I get with circleCI?

jcfr commented 6 years ago

I suggest you follow the step outlined on this page CircleCI: Enable automated build of your GitHub project

If for some reason, you can't see your organization scroll down the page and read more details in the How to Re-enable CircleCI for a GitHub Organization ?.

jcfr commented 6 years ago

Once CircleCI is activated, we will be able to start adding a .circleci/config.yml file