ci: run benchmark tests nightly

This commit is contained in:
Edward Thomson
2022-02-22 22:03:08 -05:00
parent 93037bab1c
commit 4c6eab99a7
4 changed files with 113 additions and 0 deletions

6
ci/setup-osx-benchmark.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
set -ex
brew update
brew install hyperfine

20
ci/setup-ubuntu-benchmark.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
set -ex
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
cargo \
cmake \
gcc \
git \
krb5-user \
libkrb5-dev \
libssl-dev \
libz-dev \
make \
ninja-build \
pkgconf
wget https://github.com/sharkdp/hyperfine/releases/download/v1.12.0/hyperfine_1.12.0_amd64.deb
sudo dpkg -i hyperfine_1.12.0_amd64.deb

9
ci/setup-win32-benchmark.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -ex
choco install hyperfine zip
CHOCO_PATH=$(mktemp -d)
curl -L https://github.com/ethomson/PurgeStandbyList/releases/download/v1.0/purgestandbylist.1.0.0.nupkg -o "${CHOCO_PATH}/purgestandbylist.1.0.0.nupkg"
choco install purgestandbylist -s $(cygpath -w "${CHOCO_PATH}")