aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/jenkins.sh
blob: dbdfda699e67e884ae2a76123cc33bed68e1c2a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env bash
# jenkins build helper script for libasn1c.  This is how we build on jenkins.osmocom.org

set -e
osmo-clean-workspace.sh

set +x
echo
echo
echo
echo " =============================== libasn1c ==============================="
echo
set -x

autoreconf --install --force
./configure --enable-werror

# Parallel make is disabled due to a race condition. On Jenkins, it often
# aborts the build with: "asn1p_y.y:357:13: error: 'param' undeclared"
$MAKE -j1
$MAKE distcheck \
  || cat-testlogs.sh

osmo-clean-workspace.sh