summaryrefslogtreecommitdiff
path: root/.ci/ci-make-benchmark.sh
blob: 9f297a5fcb851d9ba1a2747f1aefecb5915b2440 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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