#!/bin/bash -e
# continuous integration test script
# run this from the top-level source directory

OGG_PATH=/srv/jenkins/jobs/libogg/workspace
VIDEOS=/usr/local/share/videos

./autogen.sh
CFLAGS='-O2 -g' ./configure --enable-assertions --enable-check-asm --enable-logging --enable-accounting PKG_CONFIG_PATH=${OGG_PATH}
make clean
make distcheck PKG_CONFIG_PATH=${OGG_PATH}
make docs
make
./examples/encoder_example -k 4 ${VIDEOS}/claire_qcif-2frames.y4m -o out.$$.ogv
./examples/dump_video out.$$.ogv -o /dev/null
rm -f out.$$.ogv

#!/bin/bash -e
# continuous integration test script
# run this from the top-level source directory

VIDEOS=/usr/local/share/videos

./autogen.sh
CFLAGS='-O2 -g' ./configure --enable-assertions --enable-check-asm --enable-logging --enable-accounting
make clean
make distcheck
make docs
make
./examples/encoder_example -k 4 ${VIDEOS}/claire_qcif-2frames.y4m -o out.$$.ogv
./examples/dump_video out.$$.ogv -o /dev/null
rm -f out.$$.ogv

Remove custom libogg path to match Unix makefile build script.
Remove custom libogg path to match Unix makefile build script.
