mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 18:29:36 +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.
|
# Runs on any push to ci-linux-x64.
|
||||||
# Produces optimised static x64 linux binaries,
|
# 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 runs no tests.
|
||||||
# Currently using ghc 9.0 to avoid segfaults with the ghc 9.2 binaries on alpine,
|
# Was using ghc 9.0 to avoid segfaults with the ghc 9.2 binaries on alpine, https://gitlab.haskell.org/ghc/ghc/-/issues/20266
|
||||||
# possibly https://gitlab.haskell.org/ghc/ghc/-/issues/20266
|
# Trying latest ghc 9.8 now.
|
||||||
|
|
||||||
name: binaries-linux-x64-static
|
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
|
mkdir -p ~/.ghcup/bin && curl https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup > ~/.ghcup/bin/ghcup && chmod +x ~/.ghcup/bin/ghcup
|
||||||
fi
|
fi
|
||||||
ghcup --version
|
ghcup --version
|
||||||
if [[ ! -x ~/.ghcup/bin/ghc-9.0.2 ]]; then
|
if [[ ! -x ~/.ghcup/bin/ghc-9.8.2 ]]; then
|
||||||
~/.ghcup/bin/ghcup install ghc 9.0.2 && ~/.ghcup/bin/ghcup set ghc 9.0.2
|
~/.ghcup/bin/ghcup install ghc 9.8.2 && ~/.ghcup/bin/ghcup set ghc 9.8.2
|
||||||
fi
|
fi
|
||||||
ghc --version
|
ghc --version
|
||||||
if [[ ! -x ~/.ghcup/bin/cabal-3.8.1.0 ]]; then
|
if [[ ! -x ~/.ghcup/bin/cabal-3.10.3.0 ]]; then
|
||||||
~/.ghcup/bin/ghcup install cabal 3.8.1.0 && ~/.ghcup/bin/ghcup set cabal 3.8.1.0
|
~/.ghcup/bin/ghcup install cabal 3.10.3.0 && ~/.ghcup/bin/ghcup set cabal 3.10.3.0
|
||||||
fi
|
fi
|
||||||
cabal --version
|
cabal --version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user