add contrib/jenkins.sh script for jenkins build testing

Change-Id: I22fc707814e87b50e956d3b4fda6e5e31f0b62a7
This commit is contained in:
Harald Welte 2017-08-14 08:11:11 +02:00
parent bce896fadb
commit f1b77d9b58
1 changed files with 16 additions and 0 deletions

16
contrib/jenkins.sh Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
# jenkins build helper script for libasn1c. This is how we build on jenkins.osmocom.org
set +x
echo
echo
echo
echo " =============================== libasn1c ==============================="
echo
set -x
autoreconf --install --force
./configure CFLAGS="-Werror" CPPFLAGS="-Werror"
$MAKE $PARALLEL_MAKE
$MAKE distcheck \
|| cat-testlogs.sh