mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-24 19:02:46 +03:00
ci: windows: try ghc 9.4.4 to work around ghc#23309
This commit is contained in:
parent
4a55a515ba
commit
7592674416
9
.github/workflows/binaries-windows-x64.yml
vendored
9
.github/workflows/binaries-windows-x64.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user