ci: windows: ghc 9.2.3
This commit is contained in:
parent
59be6bf22c
commit
17f28c65b4
7
.github/workflows/binaries-windows-x64.yml
vendored
7
.github/workflows/binaries-windows-x64.yml
vendored
@ -133,9 +133,8 @@ jobs:
|
|||||||
- name: Install GHC
|
- name: Install GHC
|
||||||
# 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%
|
||||||
# use GHC 9.0 for now (#1869)
|
|
||||||
run: |
|
run: |
|
||||||
./stack --no-terminal setup --install-ghc --stack-yaml=stack9.0.yaml
|
./stack --no-terminal setup --install-ghc
|
||||||
if: env.CONTINUE
|
if: env.CONTINUE
|
||||||
|
|
||||||
# - name: Install shelltestrunner
|
# - name: Install shelltestrunner
|
||||||
@ -145,14 +144,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Install haskell deps
|
- name: Install haskell deps
|
||||||
run: |
|
run: |
|
||||||
./stack --no-terminal build --only-dependencies --stack-yaml=stack9.0.yaml
|
./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 --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"
|
# --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