tools: appveyor: use build_script
[ci skip]
This commit is contained in:
parent
163dee7cbd
commit
605a36acf5
@ -28,18 +28,21 @@ cache:
|
|||||||
#- "c:\\pr\\hledger-web\\.stack-work"
|
#- "c:\\pr\\hledger-web\\.stack-work"
|
||||||
#- "c:\\pr\\hledger-api\\.stack-work"
|
#- "c:\\pr\\hledger-api\\.stack-work"
|
||||||
|
|
||||||
#install:
|
install:
|
||||||
before_test:
|
|
||||||
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
|
- curl -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
|
||||||
- 7z x stack.zip stack.exe
|
- 7z x stack.zip stack.exe
|
||||||
|
|
||||||
test_script:
|
# run custom scripts instead of MSBuild
|
||||||
|
build_script:
|
||||||
- stack build --test --copy-bins --local-bin-path=. hledger #hledger-web hledger-api
|
- stack build --test --copy-bins --local-bin-path=. hledger #hledger-web hledger-api
|
||||||
# -j1 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 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+
|
||||||
# --bench benchmark doesn't run on windows yet
|
# --bench benchmark doesn't run on windows yet
|
||||||
#- hledger-install/hledger-install.sh
|
#- hledger-install/hledger-install.sh
|
||||||
#- make stacktest
|
#- make stacktest
|
||||||
|
|
||||||
|
# run custom scripts instead of automatic test detector
|
||||||
|
#test_script:
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: hledger.exe
|
- path: hledger.exe
|
||||||
#- path: hledger-web.exe
|
#- path: hledger-web.exe
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user