Skip to content

Commit

Permalink
;ci:windows: switch to more recent ghc (9.6.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Jan 5, 2024
1 parent 4fcc09b commit 3c86898
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/binaries-windows-x64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Produces optimised windows binaries,
# using the default stack.yaml's GHC version.
# Currently runs no tests.
# Currently using nightly-2023-04-24 (ghc-9.4) to avoid ghc 9.4.5/9.6 windows bugs
# ( https://gitlab.haskell.org/ghc/ghc/-/issues/23309 , https://gitlab.haskell.org/ghc/ghc/-/issues/23378 )

name: binaries-windows-x64

Expand Down Expand Up @@ -138,7 +136,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 --resolver nightly-2023-04-24
./stack --no-terminal setup --install-ghc
if: env.CONTINUE

# - name: Install shelltestrunner
Expand All @@ -148,15 +146,15 @@ jobs:

- name: Install haskell deps
run: |
./stack --no-terminal build --only-dependencies --dry-run --resolver nightly-2023-04-24
./stack --no-terminal build --only-dependencies --resolver nightly-2023-04-24
./stack --no-terminal build --only-dependencies --dry-run
./stack --no-terminal build --only-dependencies
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 --resolver nightly-2023-04-24
./stack --no-terminal install --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror
# --ghc-options=-split-sections doesn't work on windows, "too many sections"
# --pedantic
if: env.CONTINUE
Expand Down

0 comments on commit 3c86898

Please sign in to comment.