Expand CI matrix using Azure Pipelines:

* Allow setting a seed in websocket prng to workaround a valgrind bug
  in Xenial.
* Coverage collection in Azp.
* Fixup blacklists to avoid zlib bugs.
* Use native b2 features for sanitizers and valgrind.
* Expanded Windows build matrix.
* Add additional clang (with libc++) builds.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
Damian Jarek committed 2019-05-19 22:32:44 +02:00
1 parent e98fc22bec
commit 86176786c3
9 files changed
+306 -6

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
# Remember that this blacklist file is GLOBAL to all sanitizers
# Be therefore extremely careful when considering to add a sanitizer
# filter here instead of using a runtime suppression
@@ -26,4 +27,4 @@ fun:*shl_input_streamable*
# boost/any.hpp:259:16: runtime error: downcast of address 0x000004392e70 which does not point to an object of type 'any::holder<int>'
#
#fun:*any_cast*
#fun:*any_cast*
+9
View File
@@ -0,0 +1,9 @@
#! /bin/bash
set -e
lcov --directory bin.v2 --capture --no-external --directory $(pwd) --output-file coverage.info > /dev/null 2>&1
lcov --extract coverage.info $(pwd)'/boost/beast/*' --output-file coverage.info > /dev/null
lcov --remove coverage.info $(pwd)'/boost/beast/_experimental/*' --output-file coverage.info > /dev/null
lcov --list coverage.info
# Codecov improperly detects project root in AzP, so we need to upload from beast git repo
cd libs/beast
curl -s https://codecov.io/bash -o codecov && bash ./codecov -X gcov -f ../../coverage.info -t $CODECOV_TOKEN
+5 -3
View File
@@ -5,10 +5,14 @@ set -e
build_dir=$2
branch="master"
if [ "$1" != "master" ]; then
if [ "$1" != "master" -a "$1" != "refs/heads/master" ]; then
branch="develop"
fi
echo "BUILD_DIR: $build_dir"
echo "BRANCH: $branch"
git clone -b $branch --depth 1 https://github.com/boostorg/boost.git boost-root
cd boost-root
@@ -81,7 +85,5 @@ git submodule update --init --depth 20 --jobs 4 \
echo Submodule update complete
echo "BUILD_DIR: $build_dir"
rm -rf libs/beast
cp -r $build_dir libs/beast
+7
View File
@@ -3,6 +3,13 @@
Memcheck:Cond
fun:fill_window
}
{
zlib_deflate_fast
Memcheck:Cond
fun:deflate_fast
}
{
Ignore OpenSSL malloc
Memcheck:Leak