From 1a8e2a697ff5513907a767a327d1e363b789f73a Mon Sep 17 00:00:00 2001 From: "Keith Burns (alagalah)" Date: Fri, 13 May 2016 09:31:35 -0700 Subject: NSHSFC-1 Initial move from VPP to NSH_SFC - API is giving me some negative energy currently -- I'll work it out but wanted to publish both VPP-61 and this simultaneously Change-Id: I4a04b56dd470655114605621d0c44ea3c26bc069 Signed-off-by: Keith Burns (alagalah) Signed-off-by: Ed Warnicke --- scripts/ci/verify.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 scripts/ci/verify.sh (limited to 'scripts/ci') diff --git a/scripts/ci/verify.sh b/scripts/ci/verify.sh new file mode 100755 index 0000000..aa73d97 --- /dev/null +++ b/scripts/ci/verify.sh @@ -0,0 +1,29 @@ +#!/bin/bash +set -xe -o pipefail +# Figure out what system we are running on +if [ -f /etc/lsb-release ];then + . /etc/lsb-release +elif [ -f /etc/redhat-release ];then + sudo yum install -y redhat-lsb + DISTRIB_ID=`lsb_release -si` + DISTRIB_RELEASE=`lsb_release -sr` + DISTRIB_CODENAME=`lsb_release -sc` + DISTRIB_DESCRIPTION=`lsb_release -sd` +fi +echo DISTRIB_ID: $DISTRIB_ID +echo DISTRIB_RELEASE: $DISTRIB_RELEASE +echo DISTRIB_CODENAME: $DISTRIB_CODENAME +echo DISTRIB_DESCRIPTION: $DISTRIB_DESCRIPTION + +NSH_PLUGIN_DIR=$(dirname $0)/../../nsh-plugin +echo "NSH_PLUGIN_DIR: ${NSH_PLUGIN_DIR}" +cd ${NSH_PLUGIN_DIR} +autoreconf -i -f +mkdir _install +mkdir _build +cd _build +../configure --prefix=$(pwd)/../../_install +make +make install + + -- cgit 1.2.3-korg