mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
Problem: CI builds and test runs not done in parallel
Solution: run make with -j5, as now the tests support it.
This commit is contained in:
parent
48792f8006
commit
463c2d75ae
@ -31,4 +31,4 @@ elif [ $CURVE == "libsodium" ]; then
|
||||
fi
|
||||
|
||||
# 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
|
||||
pip install --user cpp-coveralls
|
||||
|
||||
# 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
|
||||
./autogen.sh &&
|
||||
./configure "${CONFIG_OPTS[@]}" &&
|
||||
export DISTCHECK_CONFIGURE_FLAGS="${CONFIG_OPTS[@]}" &&
|
||||
make VERBOSE=1 distcheck
|
||||
make VERBOSE=1 -j5 distcheck
|
||||
) || exit 1
|
||||
else
|
||||
cd ./builds/${BUILD_TYPE} && ./ci_build.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user