appveyor: belay that happy fix attempt; check stack version

This commit is contained in:
Simon Michael 2018-05-30 12:51:12 -07:00
parent 93e61ec0c3
commit 3e470a999f

View File

@ -37,15 +37,14 @@ cache:
install: install:
- curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64 - curl -skL -ostack.zip http://www.stackage.org/stack/windows-x86_64
- 7z x stack.zip stack.exe - 7z x stack.zip stack.exe
- stack --version
# install ghc # install ghc
# using 8.2 to avoid a hledger-web -> network/stack build issue on windows # using 8.2 to avoid a hledger-web -> network/stack build issue on windows
# 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
# network 2.7.0.1 should work around it when released # network 2.7.0.1 should work around it when released
- stack --stack-yaml=stack-ghc8.2.yaml setup - stack --stack-yaml=stack-ghc8.2.yaml setup
# 20180530 no happy today; guess we must ensure it #- set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH%
- set PATH=C:\Users\appveyor\AppData\Roaming\local\bin;%PATH%
- stack install happy
#- stack install shelltestrunner #- stack install shelltestrunner
# -j1 was a temporary workaround for https://github.com/simonmichael/hledger/issues/424, https://github.com/commercialhaskell/stack/issues/2617, should be unnecessary with ghc 8.2.1+ # -j1 was a temporary workaround for https://github.com/simonmichael/hledger/issues/424, https://github.com/commercialhaskell/stack/issues/2617, should be unnecessary with ghc 8.2.1+