diff options
author | Oliver Smith <osmith@sysmocom.de> | 2023-08-29 11:46:46 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2023-08-29 11:59:59 +0200 |
commit | 2bbb7cd7f802a2f17c062af2daa2642cc2a35e6e (patch) | |
tree | a6eb54af9de96992b0ce8304a5b44d395fb0e060 | |
parent | 122531949dcb2eddf6927a267b86ba368b25fad2 (diff) |
Prepare to replace the legacy SIMTRACE jenkins job with a new
master-simtrace job that works like other master build jobs. Move the
build commands from the old job into this contrib/jenkins.sh file.
-rwxr-xr-x | contrib/jenkins.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh new file mode 100755 index 0000000..383d8cd --- /dev/null +++ b/contrib/jenkins.sh @@ -0,0 +1,23 @@ +#!/bin/sh -e +TOPDIR="$(realpath "$(dirname "$0")/..")" + +if ! [ -x "$(command -v osmo-build-dep.sh)" ]; then + echo "Error: missing scripts from osmo-ci.git in PATH!" + exit 2 +fi + +set -x + +osmo-clean-workspace.sh + +export deps="$TOPDIR/deps" +export inst="$deps/install" +export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH" +export LD_LIBRARY_PATH="$inst/lib" + +mkdir -p deps +osmo-build-dep.sh libosmocore "" '--disable-doxygen' + +cd "$TOPDIR"/host +$MAKE clean +$MAKE |