summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-14 08:11:11 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-14 08:12:41 +0200
commitf1b77d9b58fcb083afe343669abbcbc1dc138bdb (patch)
treeffcf20a918503a69594859e0f5d2adec5140565d
parentbce896fadb0be35b77123ab0999be34424819a6c (diff)
add contrib/jenkins.sh script for jenkins build testing
-rwxr-xr-xcontrib/jenkins.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
new file mode 100755
index 0000000..d9901e3
--- /dev/null
+++ b/contrib/jenkins.sh
@@ -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