Commit Graph

137 Commits

Author SHA1 Message Date
sdarwin
b48b400a89 Upgrade pacman 2021-06-17 08:22:19 +02:00
Sam Darwin
f354a88efa Drone windows, fix exit code (#80) 2021-06-09 14:33:00 -05:00
Tobias Loew
54c6f52e91 fixed stdlib argument 2021-05-25 10:19:05 +02:00
Alexander Grund
f9fb41be17 Avoid adding cxxflags= multiple times
Treat B2_CXXFLAGS like the others vars and for the old configs move it to B2_FLAGS

Fixes #73
2021-05-18 11:07:27 +02:00
Sam Darwin
e33af30668 Switch windows builds to use .bat scripts (#71) 2021-05-04 16:16:26 -06:00
Sam Darwin
61802b5daf move drone build triggers to a variable that can be set from .drone.star. (#68) 2021-02-08 15:42:07 -06:00
Sam Darwin
a7e81ac022 remove boost-ci tar file after extracting for drone (#67) 2021-01-28 13:11:27 -06:00
Sam Darwin
4fa0f1da96 fix for drone on windows (#66) 2021-01-19 13:13:53 -06:00
Sam Darwin
d3ab40f67e Drone functions.star enhancement - specify buildscript (#65) 2021-01-18 15:26:58 -06:00
Sam Darwin
aa8915a97c remove jobuuid arg (#63) 2021-01-11 10:35:43 -06:00
Sam Darwin
8c1777235a add TRAVIS_OS_NAME variable for drone (#62) 2021-01-06 14:05:02 -06:00
Sam Darwin
72c587dee7 Adding drone-ci (#61) 2020-12-23 12:28:33 -06:00
Alexander Grund
3c8bd2be6d Fix comments in build.bat
Avoids the warning/error `'#' is not recognized as an internal or external command,`
2020-04-28 11:57:04 +02:00
Mateusz Łoskot
be4eaa58a6 Add --abbreviate-paths to b2 command line on Windows (#54)
Closes #24
2020-04-10 20:52:47 +02: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
aa546624bb Fix MSVC2017 build job with CXXFLAGS 2019-10-14 07:32:23 -04: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
0bf944aba9 Add configuration for Azure Pipelines (AzP)
First stab at the common AzP configuration following the convention
structure, build jobs and build steps as established by the existing
configuration for Travis CI and AppVeyor.
2019-05-09 16:07:28 -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
bf146a62db fix mingw build options 2019-05-02 07:24:48 -04:00