ci: switch to shallow cloning of 'wrk' repository

This commit is contained in:
Micael Levi L. Cavalcante committed 2023-11-14 15:46:35 -04:00
1 parent 61791e5115
commit c47be164f3
1 file changed
+2 -2
+2 -2
View File
@@ -6,8 +6,8 @@ cd "$(dirname "$0")"
cd /tmp/
sudo apt-get install build-essential libssl-dev git -y
git clone https://github.com/wg/wrk.git wrk
git clone --depth=1 https://github.com/wg/wrk.git wrk
cd wrk
sudo make
# move the executable to somewhere in your PATH, ex:
sudo cp wrk /usr/local/bin
sudo cp wrk /usr/local/bin