ci: windows: avoid GHC 8.8.3, having trouble with Decimal

This commit is contained in:
Simon Michael 2020-03-16 18:35:21 -07:00
parent 0bc157caaa
commit 1c90132870

View File

@ -1,7 +1,8 @@
# basic hledger/hledger-web build testing, and binary building, # basic hledger/hledger-web build testing, and binary building,
# on windows, run nightly # on windows, run nightly
# Using GHC 8.8.2 to avoid "access violation" error with 8.8.3
name: windows nightly CI name: windows nightly CI with GHC 8.8.2
on: on:
# run nightly # run nightly
@ -115,7 +116,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 stack --resolver=lts-15.3 --no-terminal setup --install-ghc
# - name: Install shelltestrunner # - name: Install shelltestrunner
## - export PATH=~/.local/bin:$PATH ## - export PATH=~/.local/bin:$PATH
@ -124,11 +125,11 @@ jobs:
- name: Install haskell deps - name: Install haskell deps
run: | run: |
stack --no-terminal build --only-dependencies stack --resolver=lts-15.3 --no-terminal build --only-dependencies
- name: Build hledger executables - name: Build hledger executables
run: | run: |
stack --no-terminal install --ghc-options=-Werror stack --resolver=lts-15.3 --no-terminal install --ghc-options=-Werror
# --pedantic # --pedantic
# run hledger-lib/hledger functional tests, skipping the ones for addons # run hledger-lib/hledger functional tests, skipping the ones for addons