Skip to content
Snippets Groups Projects
Select Git revision
21 results Searching

hudson-sflphone-script.sh

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    hudson-sflphone-script.sh 611 B
    #!/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
    make doc
    popd
    
    # Run the unit tests for the daemon
    pushd sflphone-common/test
    make check
    # if at least one test failed, exit
    ./test --xml || exit 1
    popd
    
    # Compile the client
    pushd sflphone-client-gnome
    ./autogen.sh
    ./configure --prefix=/usr
    make
    popd
    
    # SUCCESS
    exit 0