tools: appveyor: switch back to 8.2 to avoid network build error

network 2.7.0.1 fixes this, but we can't depend on that yet.

[ci skip]
This commit is contained in:
Simon Michael 2018-07-04 21:34:18 +01:00
parent 425aa6b84f
commit 28b2c0fe75

View File

@ -50,12 +50,12 @@ install:
# #
# install ghc # install ghc
# using ghc 8.2 to avoid a hledger-web -> network/stack build issue on windows, #- stack setup
# use ghc 8.2 to avoid a hledger-web -> network/stack build issue on windows,
# network 2.7.0.1 should work around it when released # network 2.7.0.1 should work around it when released
# https://github.com/haskell/network/issues/313 # https://github.com/haskell/network/issues/313
# https://github.com/commercialhaskell/stack/issues/3944 # https://github.com/commercialhaskell/stack/issues/3944
#- stack --stack-yaml=stack-ghc8.2.yaml setup - stack --stack-yaml=stack-ghc8.2.yaml setup
- stack setup
#- set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH% #- set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH%
#- stack install shelltestrunner #- stack install shelltestrunner
@ -64,8 +64,8 @@ install:
# hledger-ui's vty dep isn't available on windows # hledger-ui's vty dep isn't available on windows
# hledger-api not tried recently # hledger-api not tried recently
build_script: build_script:
#- stack --stack-yaml=stack-ghc8.2.yaml build --test --copy-bins --local-bin-path=. hledger hledger-web #- stack build --test --copy-bins --local-bin-path=. hledger hledger-web
- stack build --test --copy-bins --local-bin-path=. hledger hledger-web - stack build --test --copy-bins --local-bin-path=. hledger hledger-web --stack-yaml=stack-ghc8.2.yaml
- 7z a -tzip hledger.zip hledger.exe hledger-web.exe - 7z a -tzip hledger.zip hledger.exe hledger-web.exe
#- hledger-install/hledger-install.sh #- hledger-install/hledger-install.sh
#- make stacktest #- make stacktest