From 7b052979b277c542f0b8957acb6c63c5cb9cda8c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 17 Apr 2024 12:59:35 -1000 Subject: [PATCH] ci: binaries-linux-x64: try latest ghc & cabal --- .github/workflows/binaries-linux-x64-static.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/binaries-linux-x64-static.yml b/.github/workflows/binaries-linux-x64-static.yml index baee6d68a..6f3433678 100644 --- a/.github/workflows/binaries-linux-x64-static.yml +++ b/.github/workflows/binaries-linux-x64-static.yml @@ -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