Files
jami-daemon/hudson-sflphone-script.sh
2010-09-01 10:39:35 -04:00

38 lines
596 B
Bash
Executable File

#!/bin/bash
#
# Script used by Hudson continious integration server to build SFLphone
#
# Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
set -x
# Compile the daemon
pushd sflphone-common
./autogen.sh
Compile pjproject first
pushd libs/pjproject
./autogen.sh
./configure
make && make dep
popd
./configure --prefix=/usr
make
popd
# Run the unit tests for the daemon
pushd sflphone-common/test
make check
# if at least one test failed, exit
./test || exit 1
popd
# Compile the client
pushd sflphone-client-gnome
./autogen.sh
./configure --prefix=/usr
make
popd
# SUCCESS
exit 0