osmith has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-asn1-tcap/+/41018?usp=email )
Change subject: contrib/jenkins: new script ......................................................................
contrib/jenkins: new script
Change-Id: I4d76839d89492baee2c1c3ac87944fc78aee208f --- A contrib/jenkins.sh 1 file changed, 33 insertions(+), 0 deletions(-)
Approvals: osmith: Verified daniel: Looks good to me, approved pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, but someone else must approve
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh new file mode 100755 index 0000000..95826af --- /dev/null +++ b/contrib/jenkins.sh @@ -0,0 +1,33 @@ +#!/bin/sh -ex + +base="$PWD" +deps="$base/deps" +inst="$deps/install" +export deps inst + +osmo-clean-workspace.sh + +mkdir -p "$deps" + +verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]") + +export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH" +export LD_LIBRARY_PATH="$inst/lib" +export PATH="$inst/bin:$PATH" + +osmo-build-dep.sh libasn1c + +set +x +echo +echo +echo +echo " ========================== libosmo-asn1-tcap ==========================" +echo +set -x + +autoreconf -fi +./configure --enable-sanitize --enable-werror +$MAKE $PARALLEL_MAKE +$MAKE $PARALLEL_MAKE distcheck + +osmo-clean-workspace.sh