From 7592674416de3ce99a59107ebcf24a6a6c2e8a4e Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 10 May 2023 10:03:51 -1000 Subject: [PATCH] ci: windows: try ghc 9.4.4 to work around ghc#23309 --- .github/workflows/binaries-windows-x64.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/binaries-windows-x64.yml b/.github/workflows/binaries-windows-x64.yml index e38764a46..958ef7a52 100644 --- a/.github/workflows/binaries-windows-x64.yml +++ b/.github/workflows/binaries-windows-x64.yml @@ -2,6 +2,7 @@ # Produces optimised windows binaries, # using the default stack.yaml's GHC version. # Currently runs no tests. +# Temporarily using nightly-2023-04-24 (ghc-9.4.4) to avoid https://gitlab.haskell.org/ghc/ghc/-/issues/23309 name: binaries-windows-x64 @@ -134,7 +135,7 @@ jobs: # if: steps.stack-programs-dir.outputs.cache-hit != 'true' # set PATH=C:\Users\runneradmin\AppData\Local\Programs\stack\local\bin;%PATH% run: | - ./stack --no-terminal setup --install-ghc + ./stack --no-terminal setup --install-ghc --resolver nightly-2023-04-24 if: env.CONTINUE # - name: Install shelltestrunner @@ -144,15 +145,15 @@ jobs: - name: Install haskell deps run: | - ./stack --no-terminal build --only-dependencies --dry-run - ./stack --no-terminal build --only-dependencies + ./stack --no-terminal build --only-dependencies --dry-run --resolver nightly-2023-04-24 + ./stack --no-terminal build --only-dependencies --resolver nightly-2023-04-24 if: env.CONTINUE # use whichever GHC is in default stack.yaml - name: Build all hledger modules warning free, optimised and minimised run: | - ./stack --no-terminal install --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror + ./stack --no-terminal install --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror --resolver nightly-2023-04-24 # --ghc-options=-split-sections doesn't work on windows, "too many sections" # --pedantic if: env.CONTINUE