Merge remote-tracking branch 'origin/topic/timw/ci-benchmark'

* origin/topic/timw/ci-benchmark:
  Review cleanup
  Add new CI task for running benchmarks on a remote host
This commit is contained in:
Jon Siwek 2020-06-15 10:27:48 -07:00
commit ebac462895
6 changed files with 116 additions and 5 deletions

View file

@ -3,6 +3,13 @@
set -e
set -x
./configure ${ZEEK_CI_CONFIGURE_FLAGS}
cd build
make -j ${ZEEK_CI_CPUS}
if [ "${ZEEK_CI_CREATE_ARTIFACT}" != "1" ]; then
./configure ${ZEEK_CI_CONFIGURE_FLAGS}
cd build
make -j ${ZEEK_CI_CPUS}
else
./configure ${ZEEK_CI_CONFIGURE_FLAGS} --prefix=${CIRRUS_WORKING_DIR}/install
cd build
make -j ${ZEEK_CI_CPUS} install
tar -czf build.tgz ${CIRRUS_WORKING_DIR}/install
fi