efl/.ci/ci-make-benchmark.sh

20 lines
507 B
Bash
Executable File

#!/bin/sh
set -e
. .ci/travis.sh
if [ "$1" = "release-ready" ] ; then
exit 0
fi
travis_fold benchmark "make benchmark"
if [ "$BUILDSYSTEM" = "ninja" ] ; then
echo "Nothing to do here, the benchmarks don't seem to terminate"
else
if [ "$DISTRO" != "" ] ; then
docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) make benchmark
else
export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
make benchmark
fi
fi
travis_endfold benchmark