aurora-opensource / au

A C++14-compatible physical units library with no dependencies and a single-file delivery option. Emphasis on safety, accessibility, performance, and developer experience.
Apache License 2.0
329 stars 21 forks source link

Test options in CMake CI jobs #313

Closed chiphogg closed 3 weeks ago

chiphogg commented 3 weeks ago

Currently, we only run one CMake configuration in CI. It's the default one, where we permit the GTest dependency, and we build and run tests. Now we are adding two more configurations, one for each of the new options:

In both these instances, the test target won't exist, so we exclude it from running.

We do however retain the CMAKE_VERIFY_INTERFACE_HEADER_SETS option, because that gives us useful testing for our interface targets.

Fixes #304.

chiphogg commented 3 weeks ago

@timhirsh, see this failed build. Note that evidently, when one matrix build fails, it cancels the others. This seems OK, since they all need to be passing all the time.

chiphogg commented 3 weeks ago

Now instead of getting 11 notifications from the GitHub app, every time I make, update, or land a PR... I can get 13! :laughing: