[Git][ghc/ghc][wip/romes/24792] ci: Fail when bindist configure fails when installing bindist
Rodrigo Mesquita (@alt-romes)
gitlab at gitlab.haskell.org
Thu May 23 10:57:16 UTC 2024
Rodrigo Mesquita pushed to branch wip/romes/24792 at Glasgow Haskell Compiler / GHC
Commits:
3524de0d by Matthew Pickering at 2024-05-23T11:57:08+01:00
ci: Fail when bindist configure fails when installing bindist
It is better to fail earlier if the configure step fails rather than
carrying on for a more obscure error message.
- - - - -
1 changed file:
- .gitlab/ci.sh
Changes:
=====================================
.gitlab/ci.sh
=====================================
@@ -556,7 +556,7 @@ function install_bindist() {
run ${CONFIGURE_WRAPPER:-} ./configure \
--prefix="$instdir" \
- "${args[@]+"${args[@]}"}"
+ "${args[@]+"${args[@]}"}" || fail "bindist configure failed"
make_install_destdir "$TOP"/destdir "$instdir"
# And check the `--info` of the installed compiler, sometimes useful in CI log.
"$instdir"/bin/ghc --info
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3524de0dabd58d554e7e4a14354679a04aa51272
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3524de0dabd58d554e7e4a14354679a04aa51272
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240523/f69a72f5/attachment.html>
More information about the ghc-commits
mailing list