Skip to content

Commit

Permalink
ci: Retry brew update a few times to avoid random failures
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Feb 8, 2022
1 parent b1cb969 commit e51ad3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ task:
## - rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
##
brew_valgrind_pre_script:
- brew update
# Retry a few times because this tends to fail randomly.
- for i in {1..5}; do brew update && break || sleep 15; done
- brew config
- brew tap LouisBrunner/valgrind
# Fetch valgrind source but don't build it yet.
Expand Down

0 comments on commit e51ad3b

Please sign in to comment.