108 Commits

Author SHA1 Message Date
Alexander Grund
605750ac4f Ensure enforce.sh doesn't use unset variables
Test this by using `set -u` in build scripts
2025-03-02 16:09:20 +01:00
Alexander Grund
1d6081d414 Make shebangs consistent 2024-12-19 10:16:04 +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
Sam Darwin
235107a65f Upgrade valgrind (#201) 2023-01-09 07:07:25 -07:00
Alexander Grund
4657d39b86 Factor out coverity.sh from travis 2022-10-13 22:37:15 +02:00
Alexander Grund
d670f90e20 Fix paths in ci/travis scripts 2022-10-13 22:37:15 +02:00
Alexander Grund
a55f483fe3 Get SELF from meta/libraries.json
Closes #20
2021-11-18 12:41:04 +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
1a4962cca6 Use compiler: g++-8 style in travis
Makes the yaml file shorter and the build table shown by travis easier
to read as there already is a dedicated column for the compiler which is
currently not useful. Furthermore we make the "env" column harder to
read by adding the B2_TOOLSET to it which is kinda redundant when
setting a compiler
2021-11-15 17:10:26 +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
f205b7f19b Limit clone-depth to 1
Closes #23
2021-11-14 12:56:55 +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
Sam Darwin
85172e7f93 NodeJS codecov uploader (#89) 2021-11-08 16:10:03 -06:00
Alexander Grund
c22335440c Remove duplication in B2 variables and build&install scripts (#48)
* Deduplicate build.sh and enforce.sh
* Unify Windows workflows
* Factor out common linux install script
* Build tests from inside BOOST_ROOT
* Exit with 1 on error on windows
* Remove outdated workaround for Boost.Test #144
* Fix missing unification in BDDE and mingw and add B2_CI_VERSION
   * Use B2_CI_VERSION to check for wanted behavior
* Use other methods of getting the CPU count
   * Fixes #50
* Update AzP variable defintions
* Zero out B2_CXXFLAGS not CXXFLAGS for bootstrap
* Go back to lib folder on Windows
* Move boost-root to location expected by old AzP configs
2020-04-05 18:55:15 +02:00
Vinnie Falco
8b32c09c11 Configurable lcov_branch_coverage: (#38)
This allows the lcov_branch_coverage setting
for code coverage to be configured by the calling
script, by setting the environment variable
LCOV_BRANCH_COVERAGE.

By setting lcov_branch_coverage=0 it is possible to
get full coverage for a library with effort, otherwise
it is difficult to impossible.

The defaulted value continues to be 1 for no change in behaviour.
2020-03-25 17:47:43 -07:00
Alexander Grund
0ea00548f9 Fallback to using TRAVIS_COMPILER for getting gcov version (#34) 2020-03-20 15:55:27 +01:00
Alexander Grund
ce0f57ae42 Make codecov.sh location independent (#31)
This makes sure it can be called e.g. from inside the libraries test folder
2020-03-20 15:54:13 +01:00
Mateusz Łoskot
1f08c4b30e Boost requires Jamfile in test/ (#35)
Projects with wrong test/Jamfile break the regression matrix and
if they do so seriously, they would be removed from Boost.

Closes #22
2020-03-19 10:20:10 +01:00
Mateusz Łoskot
54ff839d4b Replace non-standard which with built-i command -v (#28)
The `command -v` is a POSIX standard builtin.
https://github.com/koalaman/shellcheck/wiki/SC2230

Although that is not an issue on Linux flavours, checks using empty
string (e.g. for `CXX`) on macOS output.

   usage: which [-as] program ...

what displays the non-standard behaviour of `which`. Annoyance.
2020-03-19 10:14:33 +01:00
Mateusz Łoskot
96a9364cea Fix Bash syntax for clang globs matching (#27)
Since [ .. ] can't match globs, the condition was broken.
Use [[ .. ]] instead.
See https://github.com/koalaman/shellcheck/wiki/SC2081
2020-03-19 10:13:59 +01:00
James E. King III
20b1eebb48 update coverity download link 2019-08-13 08:23:20 -04:00
James E. King III
e1ac032a4a fix bdde invoke, missed a -c 2019-06-24 07:46:33 -04:00
James E. King III
78cd39a7f5 fix bdde invoke to pass arguments properly 2019-06-24 07:25:15 -04:00
James E. King III
2eec7c14a6 fix post-bootstrap bdde build of repo 2019-06-23 20:28:36 -04:00
James E. King III
c2569adf94 fix bdde permissions issue 2019-06-23 17:58:29 -04:00
James E. King III
158d3b8cbe fix bdde bootstrap invocation 2019-06-23 17:22:53 -04:00
James E. King III
4fcc1cb2e2 fix bdde startup sequence 2019-06-23 17:05:26 -04:00
James E. King III
02d826fcd3 install bdde multiarch prereqs 2019-06-23 16:56:56 -04:00
James E. King III
223892b4de fix bdde again 2019-06-23 16:49:30 -04:00
James E. King III
2b90267bdf fix bdde add multiarch 2019-06-23 16:47:01 -04:00
James E. King III
61e3ab6f99 fix bdde 2019-06-23 16:27:26 -04:00
James E. King III
46de8aa856 Add support for the boost docker development environment 2019-06-23 16:22:33 -04:00
James E. King III
25600e1bab Disable cppcheck, add gcc-9 and VS2019, reduce burden
This fixes #18
This fixes #19
2019-06-08 05:40:47 -04:00
James E. King III
d632037204 use built-in coverage flags 2019-05-31 08:31:34 -04:00
James E. King III
7a342edf03 pin lcov to v1.14 as master is unstable right now 2019-05-28 13:10:44 -04:00
James E. King III
a7ca7030b9 Fix typo in codecov 2019-05-28 12:33:46 -04:00
James E. King III
44997b1625 use apt instead of apt-get 2019-05-28 08:25:25 -04:00
James E. King III
c7c3611e8b Add libjson-perl for lcov 2019-05-28 08:19:04 -04:00
James E. King III
e95dc7853f forgot sudo 2019-05-28 07:54:34 -04:00
James E. King III
f824af7d3b Install a package lcov needs 2019-05-28 07:49:45 -04:00
James E. King III
42b49b5e97 Change the way the intel icc silent config is built 2019-05-20 08:55:06 -04:00
James E. King III
f8d6ff3834 Fix intel icc script 2019-05-19 23:48:50 -04:00
James E. King III
688e3d395c Fix install.sh on travis to allow other dashed toolsets to pass through 2019-05-19 19:47:55 -04:00
Mateusz Łoskot
1d14e9e6d2 If no user-specified GCOV then derive it from B2_TOOLSET
Follows suggestion in comment to #8
2019-05-02 22:06:28 -04:00
Mateusz Łoskot
ddb86edb5d Allow user to specify gcov, otherwise default to gcov-7 2019-05-02 16:47:54 -04:00
James E. King III
1185c008a5 fix missing valgrind headers during build 2019-05-02 12:09:15 -04:00
James E. King III
63de4f5e7f print the tail of cov-int build log when done 2019-04-19 13:09:17 -04:00
James E. King III
c51aa5338e fix coverity CA cert issue 2019-04-19 12:20:00 -04:00
James E. King III
fea6c8ee9a fix scan.coverity.com root CA issue 2019-04-19 11:43:10 -04:00
James E. King III
b52f8441b0 fix coverity CA issue 2019-04-19 10:59:20 -04:00