Skip to content

Commit

Permalink
cirrusci: add build timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-chavez committed Nov 24, 2020
1 parent 787973f commit 9adec12
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 @@ -35,7 +35,8 @@ build_task:
cabal_nightly_version=$(git show -s --format='%cd' --date='format:%Y%m%d')
sed -i '' "s/^version:.*/version:$cabal_nightly_version/" postgrest.cabal
fi
- cabal v2-build
## compile for 30 minutes tops
- timeout 1800 cabal v2-build || (($?==124))

publish_script:
- |
Expand Down

0 comments on commit 9adec12

Please sign in to comment.