Fix CI on FreeBSD

This commit is contained in:
Julian Ospald 2020-04-29 20:14:38 +02:00
parent a1282b2854
commit d7a6935a1a
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -71,10 +71,10 @@ ghci-$(ghc --numeric-version) --version
# test installing new ghc doesn't mess with currently set GHC # test installing new ghc doesn't mess with currently set GHC
# https://gitlab.haskell.org/haskell/ghcup-hs/issues/7 # https://gitlab.haskell.org/haskell/ghcup-hs/issues/7
if [ "${OS}" = "DARWIN" ] ; then if [ "${OS}" = "LINUX" ] ; then
eghcup install 8.4.4
else # test wget a bit
eghcup --downloader=wget install 8.4.4 eghcup --downloader=wget install 8.4.4
else # test wget a bit
eghcup install 8.4.4
fi fi
[ "$(ghc --numeric-version)" = "${ghc_ver}" ] [ "$(ghc --numeric-version)" = "${ghc_ver}" ]
eghcup set 8.4.4 eghcup set 8.4.4