Debian Codegraph @

contrib/jenkins.sh

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # jenkins build helper script for libosmo-netif. This is how we build on jenkins.osmocom.org
3
4 if ! [scip-shell system . . `[`. -x "$(command -v osmo-build-dep.sh)" ]; then
5 echoscip-shell system . . echo. "Error: We need to have scripts/osmo-deps.sh from http://git.osmocom.org/osmo-ci/ in PATH !"
6 exit 2
7 fi
8
9
10 set -ex
11
12 base="$PWD"
13 deps="$base/deps"
14 inst="$deps/install"
15 export deps inst
16
17 osmo-clean-workspace.sh
18
19 mkdirscip-shell system . . mkdir. "$deps" || truescip-shell system . . true.
20
21 verify_value_string_arrays_are_terminated.py $(findscip-shell system . . find. . -name "*.[hc]")
22
23 export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
24 export LD_LIBRARY_PATH="$inst/lib"
25
26 osmo-build-dep.sh libosmocore "" --disable-doxygen
27
28 set +x
29 echoscip-shell system . . echo.
30 echoscip-shell system . . echo.
31 echoscip-shell system . . echo.
32 echoscip-shell system . . echo. " =============================== libosmo-netif ==============================="
33 echoscip-shell system . . echo.
34 set -x
35
36 autoreconfscip-shell system . . autoreconf. --install --force
37 ./configure --enable-sanitize --enable-werror --enable-lapd-examples
38 $MAKE $PARALLEL_MAKE
39 $MAKE $PARALLEL_MAKE distcheck \
40 || cat-testlogs.sh
41 $MAKE $PARALLEL_MAKE maintainer-clean
42
43 osmo-clean-workspace.sh