mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-27 11:13:48 +03:00
retry cabal build on failure
This commit is contained in:
parent
88b62013b4
commit
1d1bb926ca
4
.github/ci.sh
vendored
4
.github/ci.sh
vendored
@ -88,7 +88,9 @@ build() {
|
||||
# Limit jobs on windows due to: https://gitlab.haskell.org/ghc/ghc/issues/17926
|
||||
if [[ "$ghc_ver" == "8.8.3" && $IS_WIN ]]; then JOBS=1; else JOBS=2; fi
|
||||
cabal v2-configure -j$JOBS --minimize-conflict-set
|
||||
cabal v2-build "$@" exe:cryptol exe:cryptol-html
|
||||
for _ in {1..3}; do # retry due to flakiness with windows builds
|
||||
cabal v2-build "$@" exe:cryptol exe:cryptol-html && break
|
||||
done
|
||||
}
|
||||
|
||||
install_system_deps() {
|
||||
|
Loading…
Reference in New Issue
Block a user