ci: windows: ghc 9.2.3

This commit is contained in:
Simon Michael 2022-06-09 11:33:35 +01:00
parent 59be6bf22c
commit 17f28c65b4

View File

@ -133,9 +133,8 @@ jobs:
- name: Install GHC
# if: steps.stack-programs-dir.outputs.cache-hit != 'true'
# set PATH=C:\Users\runneradmin\AppData\Local\Programs\stack\local\bin;%PATH%
# use GHC 9.0 for now (#1869)
run: |
./stack --no-terminal setup --install-ghc --stack-yaml=stack9.0.yaml
./stack --no-terminal setup --install-ghc
if: env.CONTINUE
# - name: Install shelltestrunner
@ -145,14 +144,14 @@ jobs:
- name: Install haskell deps
run: |
./stack --no-terminal build --only-dependencies --stack-yaml=stack9.0.yaml
./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 --stack-yaml=stack9.0.yaml
./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