Commit Graph

11 Commits

Author SHA1 Message Date
Dylan Baker 0f1c5a0a79
Add Meson buildsystem support (#424)
* meson: Add a Meson based build system

This is primarily intended to be useful for projects using Meson wishing
to consume cxxopts as a subproject. By hosting the files upstream users
get the benefit of automatic parity with the CMake based install
provided by an OS vendor or distribution.

The implementation attempts to mirror the CMake build as much as
possible, with the exception of generating the cmake-config files, which
Meson doesn't currently support. It uses a small python script to parse
the cxxopts.hpp header to extract the version, due to a concious design
decision of Meson to leave such complex logic to external scripting
languages like Python.

* CI: add basic Meson testing

I've tried to be a bit more minimal here than the CMake tests are, since
there's already a good cross section of testing there. For Meson, I just
want to touch test each of the major platforms to ensure that it works
2026-01-12 18:00:29 +11:00
Nitin Kumar c01a048d88
Fix github CI (#478)
* fix: Use non deprecated upload-artifact action version

* fix: Use branch name in build workflow, use latest checkout action, use cd bulid as job steps doesn't preserve current directories between themselves.

* fix: remove non-existent main branch, remove deprecated ubuntu-20, removed deprecated macos-11 and macos-12, setup g++-9 and g++-10 if not exists, use latest checkout action
2026-01-01 16:08:51 +11:00
Nathaniel Brough 44739d3023
feat(fuzz): Adds trigger for fuzzing in the CI (#392) 2023-02-22 07:03:38 +11:00
Nathaniel Brough 58daccc945
feat(fuzzer): Adds fuzz tests (#386) 2023-02-06 07:30:51 +11:00
Stefan Hillmich d046fe0ad6
Extend CI and small fixes (#370)
* Extend CI to support Windows and MacOS.
* Minor fixes to types.
2022-09-26 06:57:05 +10:00
jarro2783 1ff0da6401
Add more compilers (#307) 2021-10-09 15:52:52 +11:00
jarro2783 54489e4276
Add the two available OS (#306) 2021-10-09 12:48:44 +11:00
jarro2783 4fcadd83a7
Try workflow template 2021-10-09 12:18:17 +11:00
Jarryd Beck 7d99716319 Add workflow dispatch 2021-10-09 12:13:11 +11:00
Jarryd Beck 946ebb6f83 Initial build action 2021-10-09 12:03:20 +11:00
Jarryd Beck d3aa51d555 Add dummy workflow 2021-10-09 12:00:13 +11:00