mirror of
https://github.com/ekzhang/bore.git
synced 2025-12-15 19:37:47 +01:00
Bump version to 0.5.1 (#119)
* Update dependencies * Bump version to 0.5.1 * Try to deflake tests in GitHub Actions * Add some retries to e2e_test * Revert cargo.lock changes * Update only a couple deps * Fix CI running twice :( * Fix typo
This commit is contained in:
20
ci/test.bash
20
ci/test.bash
@@ -12,5 +12,21 @@ TARGET_TRIPLE=$2
|
||||
required_arg $CROSS 'CROSS'
|
||||
required_arg $TARGET_TRIPLE '<Target Triple>'
|
||||
|
||||
$CROSS test --target $TARGET_TRIPLE
|
||||
$CROSS test --target $TARGET_TRIPLE --all-features
|
||||
max_attempts=3
|
||||
count=0
|
||||
|
||||
while [ $count -lt $max_attempts ]; do
|
||||
$CROSS test --target $TARGET_TRIPLE
|
||||
status=$?
|
||||
if [ $status -eq 0 ]; then
|
||||
echo "Test passed"
|
||||
break
|
||||
else
|
||||
echo "Test failed, attempt $(($count + 1))"
|
||||
fi
|
||||
count=$(($count + 1))
|
||||
done
|
||||
|
||||
if [ $status -ne 0 ]; then
|
||||
echo "Test failed after $max_attempts attempts"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user