Add new CI task for running benchmarks on a remote host

- Adds centos-8 docker instance to the CI configuration
- Adds new benchmark.sh script for passing a build artifact to a remote host to run benchmarks
This commit is contained in:
Tim Wojtulewicz 2020-04-20 17:16:04 -07:00
parent 5bcdc46272
commit 11ecc7d7eb
4 changed files with 117 additions and 3 deletions

View file

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