Retry memcached tests 3 times on error

This commit is contained in:
Juliusz Sosinowicz
2023-12-08 13:05:37 +01:00
parent c6d6100136
commit 21381b939b
3 changed files with 43 additions and 3 deletions

14
.github/workflows/memcached.sh vendored Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
if [ -z "$GITHUB_WORKSPACE" ]; then
echo '$GITHUB_WORKSPACE is not set'
exit 1
fi
if [ -z "$HOST_ROOT" ]; then
echo '$HOST_ROOT is not set'
exit 1
fi
chroot $HOST_ROOT make -C $GITHUB_WORKSPACE/memcached \
-j$(nproc) PARALLEL=$(nproc) test_tls