Skip to content

Commit

Permalink
Add retry loop for TLAPM build in CI (#179)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Helwer <2n8rn1w1f@mozmail.com>
  • Loading branch information
ahelwer authored Nov 27, 2024
1 parent a7a3a0a commit cdf5c58
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,17 @@ jobs:
run: |
eval $(opam env)
make opam-deps
make
make release
# Workaround for https://github.com/tlaplus/tlapm/issues/88
set +e
for ((attempt = 1; attempt <= 5; attempt++)); do
rm -rf _build
make
if [ $? -eq 0 ]; then
make release
exit $?
fi
done
exit 1
- name: Run tests
run: |
eval $(opam env)
Expand Down

0 comments on commit cdf5c58

Please sign in to comment.