forked from boostorg/beast
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:
9 files changed
+306
-6
No files matched your search
@@ -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*
|
||||
Executable
+9
@@ -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
@@ -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
|
||||
@@ -3,6 +3,13 @@
|
||||
Memcheck:Cond
|
||||
fun:fill_window
|
||||
}
|
||||
|
||||
{
|
||||
zlib_deflate_fast
|
||||
Memcheck:Cond
|
||||
fun:deflate_fast
|
||||
}
|
||||
|
||||
{
|
||||
Ignore OpenSSL malloc
|
||||
Memcheck:Leak
|
||||
|
||||
Reference in new issue
Block a user