0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-25 22:30:51 +08:00
libzmq/ci_build.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
435 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -x
set -e
if [ $BUILD_TYPE = "default" ]; then
2015-08-16 18:46:03 +01:00
mkdir tmp
BUILD_PREFIX=$PWD/tmp
source config.sh
set_config_opts
# Build and check this project
(
./autogen.sh &&
./configure "${CONFIG_OPTS[@]}" &&
export DISTCHECK_CONFIGURE_FLAGS="${CONFIG_OPTS[@]}" &&
make VERBOSE=1 -j5 ${CHECK}
) || exit 1
else
cd ./builds/${BUILD_TYPE} && ./ci_build.sh
fi