diff options
author | Oliver Smith <osmith@sysmocom.de> | 2023-08-29 12:09:14 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2023-08-29 12:09:14 +0200 |
commit | 6ac44638983f26e5adbb996c7dede554a4b5caba (patch) | |
tree | c16e379c6728b0442819fe20327c7ccd20e04e37 | |
parent | ee7d85297fb53d475899754b2ed47c0d4c9186aa (diff) |
Prepare to replace the legacy osmo-ir77 jenkins job with a new
master-osmo-ir77 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 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh new file mode 100755 index 0000000..16efea1 --- /dev/null +++ b/contrib/jenkins.sh @@ -0,0 +1,22 @@ +#!/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"/codec +$MAKE |