Files
jami-daemon/hudson-sflphone-script.sh

34 lines
532 B
Bash
Executable File

#!/bin/bash
#
# Script used by Hudson continious integration server to build SFLphone
#
# Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
# 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
# Compile the client
pushd sflphone-client-gnome
./autogen.sh
./configure --prefix=/usr
make
popd
# Run the unit tests for the daemon
pushd sflphone-common/test
make check
./test --xml
popd