8 Commits

Author SHA1 Message Date
Alexander Grund
42c162c87e Handle multiple entries in B2_DEFINES
As pointed out by @sdarwin multiple values in `B2_DEFINES` led to a failing build as the scripts only supported a single value for the "new" var usages.
This is a regression from the old usage where `B2_DEFINES: define=FOO=1 define=BAR=2` could be used.
This is now fixed by a small parser function which generates multiple `define=*` entries and additionally now also supports spaces in the define values.
Same is done for `B2_INCLUDE` which has the same issue.

Also includes the change to the CI script from #177 and an additional test in test.cpp to verify that this works.
2022-08-12 19:36:20 +02:00
Alexander Grund
ad98a10a48 Add some example throwing and catching an exception
In other repos Clang 14 with libc++ reports an ASAN failure:
> AddressSanitizer: alloc-dealloc-mismatch

- `free` in std::range_error::~range_error() (/lib/x86_64-linux-gnu/libc++abi.so.1...)
- Allocated by `new` in std::runtime_error::runtime_error(std::__1::basic_string<...> const&) (/lib/x86_64-linux-gnu/libc++.so.1...)
2022-06-05 19:52:23 +02:00
Alexander Grund
a773fdee72 Make sure braces are correctly excluded from coverage
PS seemingly parses "{}", so switch to "}{" in the RegExp character group to avoid this.
Add a few braces in the sources for testing
2021-12-11 19:03:35 +01:00
sdarwin
cfc23a21e7 Add test case, including local file 2021-12-09 20:07:24 +01:00
Alexander Grund
ea5b6908de Change code to add a branch only reachable from MSVC builds 2021-12-09 15:41:08 +01:00
Alexander Grund
953c81f93b Better integrate GHA into Boost.CI
Also add tests for the CMake tests
2021-11-13 13:08:13 +01:00
Alexander Grund
af9e44d4c5 Improve yml files (#53)
* Remove templates
* Update appveyor configs
* Deduplicate os:linux from travis
* Add more configs to travis
* Add clang-9
* Fix failure of codecov job
* Move template readme
* Move VS 2013 test (older do not support 64bit)
2020-04-10 20:32:19 +02:00
Mateusz Łoskot
6c354befa8 Set up boost-ci self-test to be run on supported CI-s (#37)
Enable AppVeyor, Azure Pipelines and Travis CI for self.
Add test/ with basic health checks to be run on supported CI-s.
Add fake library header for depinst.py.
Disable codecov.io for boost-ci self-check on Travis CI.

Requires change in #35
2020-03-19 21:56:00 +01:00