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

16 lines
430 B
Bash
Executable File

#!/bin/sh
set -e
. .ci/travis.sh
if [ "$1" != "default" ] ; then
exit 0
fi
travis_fold benchmark "ninja benchmark"
if [ "$DISTRO" != "" ] ; then
docker exec --env EIO_MONITOR_POLL=1 --env ELM_ENGINE=buffer $(cat $HOME/cid) ninja benchmark -C build
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
ninja benchmark -C build
fi
travis_endfold benchmark