Harald Welte has submitted this change and it was merged. Change subject: Introduce contrib/jenkins.sh to enable gerrit verification[1] ......................................................................
Introduce contrib/jenkins.sh to enable gerrit verification[1] First, jenkins.sh builds libosmocore dependency. Then it compiles the "host" (PC) part of OsmocomBB. After "libosmocore embedded"-build has been introduced this script will use it instead of the x86 dep. [1] http://jenkins.osmocom.org/jenkins/job/osmocomBB-gerrit/ Change-Id: Ife88be9022fc1fc1baee7f11872e5b8db4215682 --- A contrib/jenkins.sh 1 file changed, 32 insertions(+), 0 deletions(-) Approvals: Harald Welte: Looks good to me, approved Jenkins Builder: Verified diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh new file mode 100755 index 0000000..ca72ac5 --- /dev/null +++ b/contrib/jenkins.sh @@ -0,0 +1,32 @@ +#!/bin/sh + +set -ex + +base="$PWD" +deps="$base/deps" +inst="$deps/install" +export deps inst + +mkdir "$deps" || true +rm -rf "$inst" + +osmo-build-dep.sh libosmocore "" ac_cv_path_DOXYGEN=false + +# TODO: ask whether fail is expected, because osmocom-bb build succeeds? +#"$deps"/libosmocore/contrib/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" + +set +x +echo +echo +echo +echo " =============================== OsmocomBB ===============================" +echo +set -x + +cd src/host/layer23 +autoreconf -fi +./configure +make -- To view, visit https://gerrit.osmocom.org/2726 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ife88be9022fc1fc1baee7f11872e5b8db4215682 Gerrit-PatchSet: 7 Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-Owner: blobb <dr.bl...@gmail.com> Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Max <msur...@sysmocom.de> Gerrit-Reviewer: Neels Hofmeyr <nhofm...@sysmocom.de> Gerrit-Reviewer: Vadim Yanitskiy <axilira...@gmail.com> Gerrit-Reviewer: blobb <dr.bl...@gmail.com>