summaryrefslogtreecommitdiff
path: root/.ci/ci-make-benchmark.sh
blob: 17455c1e525ac99e439c6134f11e5a0a07b8dd58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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
else
  export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
  ninja benchmark -C build
fi
travis_endfold benchmark