mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 17:26:47 +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..."
|
echo "Building with address sanitizer..."
|
||||||
CMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer"
|
CMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer"
|
||||||
renew_build
|
renew_build
|
||||||
ninja
|
ninja -j2
|
||||||
ctest --verbose
|
ctest --verbose
|
||||||
|
|
||||||
# - UBSan:
|
# - UBSan:
|
||||||
echo "Building with undefined behaviour sanitizer..."
|
echo "Building with undefined behaviour sanitizer..."
|
||||||
CMAKE_CXX_FLAGS="-fsanitize=undefined -fno-omit-frame-pointer"
|
CMAKE_CXX_FLAGS="-fsanitize=undefined -fno-omit-frame-pointer"
|
||||||
renew_build
|
renew_build
|
||||||
ninja
|
ninja -j2
|
||||||
ctest --verbose
|
ctest --verbose
|
||||||
else
|
else
|
||||||
# Build an run the tests suite with valgrind
|
# Build an run the tests suite with valgrind
|
||||||
renew_build
|
renew_build
|
||||||
ninja
|
ninja -j2
|
||||||
valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes ctest --verbose
|
valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes ctest --verbose
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user