summaryrefslogtreecommitdiff
path: root/.ci/ci-make-benchmark.sh
blob: bd6397772452b9d36602c6cb4b1ffc128b651981 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ "$1" = "release-ready" ] ; then
  exit 0
fi

if [ "$DISTRO" != "" ] ; then
  docker exec --env MAKEFLAGS="-j5" --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