;ci:windows: switch to more recent ghc (9.6.3)
This commit is contained in:
parent
4fcc09b259
commit
3c868988a9
10
.github/workflows/binaries-windows-x64.yml
vendored
10
.github/workflows/binaries-windows-x64.yml
vendored
@ -2,8 +2,6 @@
|
|||||||
# Produces optimised windows binaries,
|
# Produces optimised windows binaries,
|
||||||
# using the default stack.yaml's GHC version.
|
# using the default stack.yaml's GHC version.
|
||||||
# Currently runs no tests.
|
# 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
|
name: binaries-windows-x64
|
||||||
|
|
||||||
@ -138,7 +136,7 @@ jobs:
|
|||||||
# if: steps.stack-programs-dir.outputs.cache-hit != 'true'
|
# if: steps.stack-programs-dir.outputs.cache-hit != 'true'
|
||||||
# set PATH=C:\Users\runneradmin\AppData\Local\Programs\stack\local\bin;%PATH%
|
# set PATH=C:\Users\runneradmin\AppData\Local\Programs\stack\local\bin;%PATH%
|
||||||
run: |
|
run: |
|
||||||
./stack --no-terminal setup --install-ghc --resolver nightly-2023-04-24
|
./stack --no-terminal setup --install-ghc
|
||||||
if: env.CONTINUE
|
if: env.CONTINUE
|
||||||
|
|
||||||
# - name: Install shelltestrunner
|
# - name: Install shelltestrunner
|
||||||
@ -148,15 +146,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Install haskell deps
|
- name: Install haskell deps
|
||||||
run: |
|
run: |
|
||||||
./stack --no-terminal build --only-dependencies --dry-run --resolver nightly-2023-04-24
|
./stack --no-terminal build --only-dependencies --dry-run
|
||||||
./stack --no-terminal build --only-dependencies --resolver nightly-2023-04-24
|
./stack --no-terminal build --only-dependencies
|
||||||
if: env.CONTINUE
|
if: env.CONTINUE
|
||||||
|
|
||||||
# use whichever GHC is in default stack.yaml
|
# use whichever GHC is in default stack.yaml
|
||||||
|
|
||||||
- name: Build all hledger modules warning free, optimised and minimised
|
- name: Build all hledger modules warning free, optimised and minimised
|
||||||
run: |
|
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"
|
# --ghc-options=-split-sections doesn't work on windows, "too many sections"
|
||||||
# --pedantic
|
# --pedantic
|
||||||
if: env.CONTINUE
|
if: env.CONTINUE
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user