Commit Graph

20 Commits

Author SHA1 Message Date
Alexander Grund
cb3b3fb544 Avoid caching build artefacts
When we copy the whole boost-root AFTER the build(s) it will contain
also build artefacts such as the bin.v2 folder.
When restoring that later B2 might skip parts of the build although it
should not.
Make a copy after the initial setup & bootstrap.
2024-11-28 15:23:24 +01:00
Alexander Grund
7cc23187f4 BDDE: Move setup from CI config to script
Allow seamless updates for all users.
2024-05-15 12:08:27 +02:00
Alexander Grund
d6b30d89ae CI: Trim trailing whitespace 2024-05-11 12:37:35 +02:00
Alexander Grund
daa03568ed GHA: Remove certificate for coverity
The URL is no longer available
2024-05-11 00:10:02 +02:00
Alexander Grund
175c55a07e GHA: Allow to set $B2_TARGETS in the setup step.
Makes it easier to set everything in one place.
2023-03-24 17:19:43 +01:00
Alexander Grund
30c73f38dc Persist B2_JOBS on GHA 2022-05-19 12:04:14 +02:00
James E. King III
5b22d1dcff use a universal UBSAN_OPTIONS suppression=.ubsan-ignorelist 2022-04-24 21:34:55 -04:00
Alexander Grund
f24edb29a9 GHA: Persist all env variables supported in B2_ARGS
This allows library maintainers to pass additional env-keys to the
"Setup Boost" step.
Order matches the one in enforce.sh
2022-03-11 15:31:33 +01:00
James E. King III
431f241ba3 allow for a less offensive ignore list filename 2022-02-11 21:19:03 -05:00
James E. King III
2b8dabf659 add coverity support for github actions 2022-02-03 10:45:32 +01:00
Alexander Grund
70ba9ea39b Run coverage build in 32 and 64 bit mode
Allows to cover more code paths, e.g. sizeof-dependent ones
2021-11-30 13:14:01 +01:00
Alexander Grund
afb874bb5f Add stdlib key to GHA matrix
Matrix keys don't have meaning on its own, so handle it in the script
2021-11-23 16:04:12 +01:00
Alexander Grund
dc997f9af9 Enhance package installation on AzP and move more tasks into common_install.sh
- Deduce PACKAGES from CXX/B2_COMPILER
- Deduce B2_TOOLSET from B2_COMPILER
- Write the correct user-config.jam in common_install.sh
- Print compiler location and version in common_install.sh
2021-11-21 16:26:38 +01:00
Alexander Grund
c54f98cbab Handle missing versioned compiler on AzP 2021-11-21 16:26:38 +01:00
Alexander Grund
a55f483fe3 Get SELF from meta/libraries.json
Closes #20
2021-11-18 12:41:04 +01:00
Alexander Grund
0ce07aa43a Replace backslash by forward slash in github/install.sh
Allows this script to be used on Windows bash
2021-11-17 20:24:34 +01:00
Alexander Grund
6fcfe08e06 Split coverage into setup and upload
Build is done manually by the regular build.sh script. All we need is the setup (setting of CXXFLAGS etc.) and the upload part.
This allows to easily run multiple build runs (e.g. in different configurations)

Closes #94
2021-11-16 13:27:52 +01:00
Alexander Grund
82365d368d Check for SELF before overwriting it
Allows to define SELF to the library name.
Closes #20
2021-11-14 13:04:01 +01:00
Alexander Grund
2eea0db07f Workaround clang-8 incompatibility with libstdc++10 in C++2a mode
> In file included from ./boost/boost-ci/boost_ci.hpp:11:
> /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/memory:200:16: error: no member named 'is_constant_evaluated' in namespace 'std'
>       if (std::is_constant_evaluated())
>           ~~~~~^
2021-11-13 13:08:13 +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