catch2/.github/workflows
Mike Crowe 4db8b50aab
Add support for building with Meson (#2530)
The Meson[1] build system makes it easier incorporate third-party
libaries into a project if they also build using Meson.

Let's add a minimal Meson build that's compatible with the CMake build,
along with a GitHub workflow to check that it builds and that at least
the simplest SelfTest runs.

The handling of catch_user_config.hpp is inspired by BUILD.bazel and
doesn't attempt to support any configuratons options. Such features
could be added later.

Meson strongly discourages using wildcards to specify sources, so the
source and header lists are copied from CMakeLists.txt.

Add a new test workflow to test the Meson builds. I was unable to get
these tests to pass with Ubuntu 20.04, so they use Ubuntu 22.04.

I'm neither a CMake nor a Meson expert, but the results seem to work for
me.

[1] https://mesonbuild.com/

Co-authored-by: Mike Crowe <mcrowe@brightsign.biz>
2022-10-01 23:28:30 +02:00
..
linux-meson-builds.yml Add support for building with Meson (#2530) 2022-10-01 23:28:30 +02:00
linux-other-builds.yml Add pipeline running tests under Valgrind to GitHub Action 2022-04-24 13:34:50 +02:00
linux-simple-builds.yml Add GCC 5 and GCC 6 to CI 2022-09-15 13:40:16 +02:00
mac-builds.yml Switch MacOS image to macos-12 in Github Actions 2022-08-03 23:54:49 +02:00
validate-header-guards.yml Use Ubuntu-20.04 runner for running header guard validation 2020-11-28 23:09:10 +01:00