jenkins testing

v0.27.3
Robin Mills 11 years ago
parent 36d3af6755
commit a149de277b

@ -2,9 +2,7 @@
set +v set +v
DIR="$PWD" DIR="$PWD"
if [ "$HOME" == "/Users/rmills" ]; then
source ~/bin/.profile source ~/bin/.profile
fi
cd "$DIR" cd "$DIR"
if [ -z "$tests" ]; then tests=true; fi if [ -z "$tests" ]; then tests=true; fi
@ -20,21 +18,55 @@ if [ -e config/config.mk ]; then
make distclean make distclean
fi fi
make config
if [ "$PLATFORM" == "cygwin" ]; then
# export LIBS=-lintl
# I've given up:
# 1 trying to get Cygwin to build with gettext and friends
# 2 trying to get Cygwin to install into a local directory
./configure --disable-nls
make install
make
make samples
## ##
# remove anything left from previous build # Daisy chain to msvc Build
#for ext in .a .la .exe ; do # export ACTION=/rebuild
# find . -name "\"*$ext\"" -exec rm -rf {} ";" # export BuildEnv=native
#done # export Builder=2005
# export COMPILER=G++
# export debug=false
# export dll=true
# export expat=true
# export libssh=false
# export Linux=true
# export MSVC=true
# export openssl=false
# export release=true
# export static=false
# export teste=false
# export testr=false
# export tests=true
# export testv=false
# export Win32=false
# export x64=true
# export zlib=true#
# rm -rf $PWD/bin
# mkdir $PWD/bind
make config # PATH=$PATH:/cygdrive/c/Windows/System32
# cmd.exe /c "cd $(cygpath -aw .) && call jenkins_build.bat"
else
./configure --prefix=$PWD/usr ./configure --prefix=$PWD/usr
make LDFLAGS=-L${PWD}/usr/lib make "LDFLAGS=-L${PWD}/usr/lib -L${PWD}/xmpsdk/src/.libs"
make install make install
make samples CXXFLAGS=-I${PWD}/usr/include "LDFLAGS=-L${PWD}/usr/lib -L${PWD}/xmpsdk/src/.libs -lexiv2" make samples CXXFLAGS=-I${PWD}/usr/include "LDFLAGS=-L${PWD}/usr/lib -L${PWD}/xmpsdk/src/.libs -lexiv2"
fi
if [ "$tests" == true ]; then if [ "$tests" == true ]; then
make tests make tests
fi fi
# That's all Folks! # That's all Folks!
## ##

Loading…
Cancel
Save