mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
ci: binaries-linux-x64: try latest ghc & cabal
This commit is contained in:
parent
8bed9a6c2f
commit
7b052979b2
14
.github/workflows/binaries-linux-x64-static.yml
vendored
14
.github/workflows/binaries-linux-x64-static.yml
vendored
@ -1,9 +1,9 @@
|
||||
# Runs on any push to ci-linux-x64.
|
||||
# Produces optimised static x64 linux binaries,
|
||||
# using the GHC version below (9.0.2) and cabal.
|
||||
# using the GHC version below and cabal.
|
||||
# Currently runs no tests.
|
||||
# Currently using ghc 9.0 to avoid segfaults with the ghc 9.2 binaries on alpine,
|
||||
# possibly https://gitlab.haskell.org/ghc/ghc/-/issues/20266
|
||||
# Was using ghc 9.0 to avoid segfaults with the ghc 9.2 binaries on alpine, https://gitlab.haskell.org/ghc/ghc/-/issues/20266
|
||||
# Trying latest ghc 9.8 now.
|
||||
|
||||
name: binaries-linux-x64-static
|
||||
|
||||
@ -67,12 +67,12 @@ jobs:
|
||||
mkdir -p ~/.ghcup/bin && curl https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup > ~/.ghcup/bin/ghcup && chmod +x ~/.ghcup/bin/ghcup
|
||||
fi
|
||||
ghcup --version
|
||||
if [[ ! -x ~/.ghcup/bin/ghc-9.0.2 ]]; then
|
||||
~/.ghcup/bin/ghcup install ghc 9.0.2 && ~/.ghcup/bin/ghcup set ghc 9.0.2
|
||||
if [[ ! -x ~/.ghcup/bin/ghc-9.8.2 ]]; then
|
||||
~/.ghcup/bin/ghcup install ghc 9.8.2 && ~/.ghcup/bin/ghcup set ghc 9.8.2
|
||||
fi
|
||||
ghc --version
|
||||
if [[ ! -x ~/.ghcup/bin/cabal-3.8.1.0 ]]; then
|
||||
~/.ghcup/bin/ghcup install cabal 3.8.1.0 && ~/.ghcup/bin/ghcup set cabal 3.8.1.0
|
||||
if [[ ! -x ~/.ghcup/bin/cabal-3.10.3.0 ]]; then
|
||||
~/.ghcup/bin/ghcup install cabal 3.10.3.0 && ~/.ghcup/bin/ghcup set cabal 3.10.3.0
|
||||
fi
|
||||
cabal --version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user