Commit 463c2d75 authored by Luca Boccassi's avatar Luca Boccassi

Problem: CI builds and test runs not done in parallel

Solution: run make with -j5, as now the tests support it.
parent 48792f80
...@@ -31,4 +31,4 @@ elif [ $CURVE == "libsodium" ]; then ...@@ -31,4 +31,4 @@ elif [ $CURVE == "libsodium" ]; then
fi fi
# Build, check, and install from local source # Build, check, and install from local source
( cd ../..; mkdir build_cmake && cd build_cmake && PKG_CONFIG_PATH=${BUILD_PREFIX}/lib/pkgconfig cmake "${CMAKE_OPTS[@]}" .. && make all VERBOSE=1 && make install && make test ) || exit 1 ( cd ../..; mkdir build_cmake && cd build_cmake && PKG_CONFIG_PATH=${BUILD_PREFIX}/lib/pkgconfig cmake "${CMAKE_OPTS[@]}" .. && make -j5 all VERBOSE=1 && make install && make -j5 test ) || exit 1
...@@ -29,4 +29,4 @@ fi ...@@ -29,4 +29,4 @@ fi
pip install --user cpp-coveralls pip install --user cpp-coveralls
# Build, check, and install from local source # Build, check, and install from local source
( cd ../..; ./autogen.sh && ./configure "${CONFIG_OPTS[@]}" && make -j5 && make check && coveralls --exclude tests --build-root . --gcov-options '\-lp') || exit 1 ( cd ../..; ./autogen.sh && ./configure "${CONFIG_OPTS[@]}" && make -j5 check && coveralls --exclude tests --build-root . --gcov-options '\-lp') || exit 1
...@@ -43,7 +43,7 @@ if [ $BUILD_TYPE == "default" ]; then ...@@ -43,7 +43,7 @@ if [ $BUILD_TYPE == "default" ]; then
./autogen.sh && ./autogen.sh &&
./configure "${CONFIG_OPTS[@]}" && ./configure "${CONFIG_OPTS[@]}" &&
export DISTCHECK_CONFIGURE_FLAGS="${CONFIG_OPTS[@]}" && export DISTCHECK_CONFIGURE_FLAGS="${CONFIG_OPTS[@]}" &&
make VERBOSE=1 distcheck make VERBOSE=1 -j5 distcheck
) || exit 1 ) || exit 1
else else
cd ./builds/${BUILD_TYPE} && ./ci_build.sh cd ./builds/${BUILD_TYPE} && ./ci_build.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment