Sha256: a940141c8c38481e943f657d7c66c22424d3ca3ef7f10c9431cdf46db8e86fa4

Contents?: true

Size: 1000 Bytes

Versions: 6

Compression:

Stored size: 1000 Bytes

Contents

#!/bin/bash

mkdir build

ret=$?
if [ $ret -ne 0 ]
then
    exit $ret
fi

cd build

ret=$?
if [ $ret -ne 0 ]
then
    exit $ret
fi

if [ "${ARCH}" == "32" ]
then
    export BIT32="ON"
else
    export BIT32="OFF"
fi

cmake -DMSGPACK_CXX11=${CXX11} -DMSGPACK_32BIT=${BIT32} -DMSGPACK_BOOST=${BOOST} -DMSGPACK_ENABLE_SHARED=${SHARED} -DMSGPACK_CHAR_SIGN=${CHAR_SIGN} -DMSGPACK_DEFAULT_API_VERSION=${API_VERSION} -DMSGPACK_USE_X3_PARSE=${X3_PARSE} ..

ret=$?
if [ $ret -ne 0 ]
then
    exit $ret
fi

make

ret=$?
if [ $ret -ne 0 ]
then
    exit $ret
fi

make test

ret=$?
if [ $ret -ne 0 ]
then
    exit $ret
fi

make install DESTDIR=`pwd`/install

ret=$?
if [ $ret -ne 0 ]
then
    exit $ret
fi

if [ "${ARCH}" != "32" ] && [ `uname` = "Linux" ]
then
    ctest -T memcheck | tee memcheck.log

    ret=${PIPESTATUS[0]}
    if [ $ret -ne 0 ]
    then
        exit $ret
    fi
    cat memcheck.log | grep "Memory Leak" > /dev/null
    ret=$?
    if [ $ret -eq 0 ]
    then
        exit 1
    fi
fi

exit 0

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
script_core-0.0.6 ext/enterprise_script_service/msgpack/ci/build_cmake.sh
script_core-0.0.5 ext/enterprise_script_service/msgpack/ci/build_cmake.sh
script_core-0.0.4 ext/enterprise_script_service/msgpack/ci/build_cmake.sh
script_core-0.0.3 ext/enterprise_script_service/msgpack/ci/build_cmake.sh
script_core-0.0.2 ext/enterprise_script_service/msgpack/ci/build_cmake.sh
script_core-0.0.1 ext/enterprise_script_service/msgpack/ci/build_cmake.sh