diff --git a/.github/workflows/binaries-linux-x64-static.yml b/.github/workflows/binaries-linux-x64-static.yml index 31ade6ee6..b8fcae155 100644 --- a/.github/workflows/binaries-linux-x64-static.yml +++ b/.github/workflows/binaries-linux-x64-static.yml @@ -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