#!/bin/sh
#
# THIS IS NOT THE BUILD SCRIPT FOR Solo5.
#
# This script is used for automated builds with surf-build.
# See https://github.com/Solo5/solo5-ci for details.
#
if type gmake >/dev/null 2>&1; then
    MAKE=gmake
else
    MAKE=make
fi

set -xe
uname -a
cc --version
${MAKE}
# Don't run any tests yet

#!/bin/sh
#
# THIS IS NOT THE BUILD SCRIPT FOR Solo5.
#
# This script is used for automated builds with surf-build.
# See https://github.com/Solo5/solo5-ci for details.
#
if type gmake >/dev/null 2>&1; then
    MAKE=gmake
else
    MAKE=make
fi

set -xe
uname -a
cc --version
${MAKE}
# Some CIs can now run tests, so do that.
if [ -n "${SURF_RUN_TESTS}" ]; then
    sudo tests/setup-tests.sh
    sudo tests/run-tests.sh
fi

Enable tests on surf nodes that support them
CI: Enable tests on surf nodes that support them

`x86_64-Debian9-gcc630` now uses the new CI infrastructure, based on
https://github.com/roburio/vm. More nodes will migrate to this in due
course.
