Files
pvData/jenkins/aps_build
2013-05-30 17:32:15 -05:00

30 lines
825 B
Plaintext

# pvData C++ implementation
# Jenkins @ APS build script
#
# Jenkins invokes scripts with the "-ex" option. So the build is considered a failure
# if any of the commands exits with a non-zero exit code.
#
# Author: Ralph Lange <Ralph.Lange@gmx.de> and Andrew Johnson <anj@aps.anl.gov>
# Copyright (C) 2013 Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
# All rights reserved. Use is subject to license terms.
###########################################
# Build
export EPICS_BASE=${HOME}/jobs/epics-base-3.14/workspace
export EPICS_HOST_ARCH=$(${EPICS_BASE}/startup/EpicsHostArch)
cat > configure/RELEASE.local << EOF
PVCOMMON=${HOME}/jobs/epics-pvCommon/workspace
EPICS_BASE=${EPICS_BASE}
EOF
make distclean all
###########################################
# Test
for t in bin/linux-x86_64/test*; do
$t
done