mirror of
https://github.com/simonmichael/hledger.git
synced 2024-10-06 10:57:30 +03:00
ci: binaries-linux-x64-static: roll back to ghc 9.0 to avoid segfault
Probably https://gitlab.haskell.org/ghc/ghc/-/issues/20266
This commit is contained in:
parent
f32cb2f438
commit
b0822c9b9c
@ -1,8 +1,8 @@
|
||||
# Runs on any push to ci-linux-x64.
|
||||
# Produces optimised static x64 linux binaries,
|
||||
# using the GHC version below (9.2.3) and cabal.
|
||||
# using the GHC version below (9.0.2) and cabal.
|
||||
# Currently runs no tests.
|
||||
# XXX This is randomly segfaulting while building packages, needs replacing.
|
||||
# ghc 9.0 is used to avoid segfaults with the ghc 9.2 binaries on alpine, possibly https://gitlab.haskell.org/ghc/ghc/-/issues/20266
|
||||
|
||||
name: binaries-linux-x64-static
|
||||
|
||||
@ -27,7 +27,7 @@ jobs:
|
||||
run: |
|
||||
apk --no-cache add binutils-gold curl gcc g++ git gmp-dev ncurses-dev ncurses-static libffi-dev make xz tar perl zlib-dev zlib-static
|
||||
mkdir -p ~/.ghcup/bin && curl https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup > ~/.ghcup/bin/ghcup && chmod +x ~/.ghcup/bin/ghcup
|
||||
~/.ghcup/bin/ghcup install ghc 9.2.3 && ~/.ghcup/bin/ghcup set ghc 9.2.3 && ~/.ghcup/bin/ghcup install cabal
|
||||
~/.ghcup/bin/ghcup install ghc 9.0.2 && ~/.ghcup/bin/ghcup set ghc 9.0.2 && ~/.ghcup/bin/ghcup install cabal
|
||||
echo "$HOME/.ghcup/bin/" >> $GITHUB_PATH
|
||||
|
||||
- name: Check out
|
||||
|
Loading…
Reference in New Issue
Block a user