Change in osmo-remsim[master]: contrib/jenkins.sh: Harmonize with what we do in other projects

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Mar 4 17:31:51 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/17368 )


Change subject: contrib/jenkins.sh: Harmonize with what we do in other projects
......................................................................

contrib/jenkins.sh: Harmonize with what we do in other projects

most importantly:
* conditional build of manuals
* enforce build of manuals if enabled
* publish manuals, if requested

Change-Id: I4ed51fd5aa9d861ea4795e33b6201c15b2281b53
---
M contrib/jenkins.sh
1 file changed, 17 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/68/17368/1

diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 347ea9b..c3ae730 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -27,6 +27,13 @@
 osmo-build-dep.sh libosmo-netif
 osmo-build-dep.sh simtrace2
 
+# Additional configure options and depends
+CONFIG=""
+if [ "$WITH_MANUALS" = "1" ]; then
+	osmo-build-dep.sh osmo-gsm-manuals
+	CONFIG="--enable-manuals"
+fi
+
 set +x
 echo
 echo
@@ -35,11 +42,18 @@
 echo
 set -x
 
+cd "$base"
 autoreconf --install --force
-./configure --enable-sanitize #--enable-werror
+./configure --enable-sanitize --enable-werror $CONFIG
 $MAKE $PARALLEL_MAKE
-$MAKE distcheck \
+LD_LIBRARY_PATH="$inst/lib" \
+  DISTCHCK_CONFIGURE_FLAGS="--enable-werror $CONFIG" \
+  $MAKE distcheck \
   || cat-testlogs.sh
-$MAKE maintainer-clean
 
+if [ "$WITH_MANUALS" = "1" ] && [ "$PUBLISH" = "1" ]; then
+	make -C "$base/doc/manuals" publish
+fi
+
+$MAKE maintainer-clean
 osmo-clean-workspace.sh

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/17368
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I4ed51fd5aa9d861ea4795e33b6201c15b2281b53
Gerrit-Change-Number: 17368
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200304/116a5449/attachment.htm>


More information about the gerrit-log mailing list