CI: Simplify Linux build

This commit is contained in:
Stenzek
2024-04-25 16:55:51 +10:00
committed by Connor McLaughlin
parent 9f1483f01b
commit c831f5759f
11 changed files with 76 additions and 239 deletions

13
tools/retry.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
RETRIES=10
for i in $(seq 1 "$RETRIES"); do
"$@" && break
if [ "$i" == "$RETRIES" ]; then
echo "Command \"$@\" failed after ${RETRIES} retries."
exit 1
fi
done
exit 0