mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
Use 2 processes in travis-ci
This commit is contained in:
parent
2dd1b9f361
commit
1471e1f610
@ -66,19 +66,19 @@ script:
|
||||
echo "Building with address sanitizer..."
|
||||
CMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer"
|
||||
renew_build
|
||||
ninja
|
||||
ninja -j2
|
||||
ctest --verbose
|
||||
|
||||
# - UBSan:
|
||||
echo "Building with undefined behaviour sanitizer..."
|
||||
CMAKE_CXX_FLAGS="-fsanitize=undefined -fno-omit-frame-pointer"
|
||||
renew_build
|
||||
ninja
|
||||
ninja -j2
|
||||
ctest --verbose
|
||||
else
|
||||
# Build an run the tests suite with valgrind
|
||||
renew_build
|
||||
ninja
|
||||
ninja -j2
|
||||
valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes ctest --verbose
|
||||
fi
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user