mirror of https://gerrit.osmocom.org/libosmocore
jenkins: remove obsolete scripts
* jenkins.sh is superseded by jenkins_amd64.sh * jenkins-arm.sh is superseded by jenkins_arm.sh N. B: this requires I76dfc11a05007ae5c6e0554fe8132695b67cccaa in osmo-ci. Change-Id: Ifbd253cff88c3ac18e469c34e79f1501501e1657
This commit is contained in:
parent
2a06a491b1
commit
8e8378a84d
|
@ -1,28 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
. $(dirname "$0")/jenkins_common.sh
|
||||
|
||||
src_dir="$PWD"
|
||||
build() {
|
||||
build_dir="$1"
|
||||
|
||||
prep_build "$src_dir" "$build_dir"
|
||||
|
||||
"$src_dir"/configure --enable-static \
|
||||
--prefix=/usr/local/arm-none-eabi \
|
||||
--host=arm-none-eabi \
|
||||
--enable-embedded \
|
||||
--disable-doxygen \
|
||||
--disable-shared \
|
||||
CFLAGS="-Os -ffunction-sections -fdata-sections -nostartfiles -nodefaultlibs -Werror"
|
||||
|
||||
$MAKE $PARALLEL_MAKE \
|
||||
|| cat-testlogs.sh
|
||||
}
|
||||
|
||||
# verify build in dir other than source tree
|
||||
build builddir
|
||||
# verify build in source tree
|
||||
build .
|
||||
|
||||
osmo-clean-workspace.sh
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/sh
|
||||
# jenkins build helper script for libosmo-sccp. This is how we build on jenkins.osmocom.org
|
||||
|
||||
. $(dirname "$0")/jenkins_common.sh
|
||||
|
||||
ENABLE_SANITIZE="--enable-sanitize"
|
||||
|
||||
if [ "x$label" = "xFreeBSD_amd64" ]; then
|
||||
ENABLE_SANITIZE=""
|
||||
fi
|
||||
|
||||
src_dir="$PWD"
|
||||
build() {
|
||||
build_dir="$1"
|
||||
|
||||
prep_build "$src_dir" "$build_dir"
|
||||
|
||||
"$src_dir"/configure --enable-static $ENABLE_SANITIZE CFLAGS="-Werror" CPPFLAGS="-Werror"
|
||||
$MAKE V=1 $PARALLEL_MAKE check \
|
||||
|| cat-testlogs.sh
|
||||
}
|
||||
|
||||
# verify build in dir other than source tree
|
||||
build builddir
|
||||
# verify build in source tree
|
||||
build .
|
||||
|
||||
# do distcheck only once, which is fine from built source tree, since distcheck
|
||||
# is well separated from the source tree state.
|
||||
$MAKE distcheck \
|
||||
|| cat-testlogs.sh
|
||||
|
||||
osmo-clean-workspace.sh
|
Loading…
Reference in New Issue