Make sure GHC prerelease pipeline works
This commit is contained in:
parent
8d3f759a52
commit
b9809328e8
11
.github/workflows/install-bindist.sh
vendored
11
.github/workflows/install-bindist.sh
vendored
@ -111,12 +111,21 @@ case $TOOL in
|
|||||||
ghc --info
|
ghc --info
|
||||||
ghc -prof main.hs
|
ghc -prof main.hs
|
||||||
[[ $(./main +RTS -s) -eq 2 ]]
|
[[ $(./main +RTS -s) -eq 2 ]]
|
||||||
ghcup_fun install cabal recommended
|
ghcup install cabal recommended
|
||||||
cabal --version
|
cabal --version
|
||||||
cabal update
|
cabal update
|
||||||
|
case "${CHANNEL}" in
|
||||||
|
Prerelease|prereleasee)
|
||||||
|
cabal install --lib --package-env=. --allow-newer clock
|
||||||
|
# https://github.com/haskell/ghcup-hs/issues/966
|
||||||
|
cabal install --lib --package-env=. --allow-newer --constraint='filepath <1.5' hashable
|
||||||
|
;;
|
||||||
|
*)
|
||||||
cabal install --lib --package-env=. clock
|
cabal install --lib --package-env=. clock
|
||||||
# https://github.com/haskell/ghcup-hs/issues/966
|
# https://github.com/haskell/ghcup-hs/issues/966
|
||||||
cabal install --lib --package-env=. hashable
|
cabal install --lib --package-env=. hashable
|
||||||
|
;;
|
||||||
|
esac
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
MSYS_*|MINGW*)
|
MSYS_*|MINGW*)
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user