stack: more thorough make test-stackage (test and bench)

This commit is contained in:
Simon Michael 2017-09-08 10:26:40 -07:00
parent 0175a0231d
commit 025a2375bd
4 changed files with 10 additions and 20 deletions

View File

@ -579,24 +579,16 @@ travistest: \
sh -e bin/compile.sh
make functest
STACKTESTACTION=test
#STACKTESTACTION=bench
#STACKTESTACTION=build
#STACKTESTACTION=build --dry-run
STACKAGETESTACTION=test bench
# STACKAGETESTACTION=build --dry-run
test-stackage: \
test-stackage-ghc710 \
test-stackage-ghc80 \
test-stackage-ghc82 \
test-stack7.10.yaml \
test-stack8.0.yaml \
test-stack.yaml \
test-stackage-ghc710:
stack --stack-yaml stack7.10.yaml $(STACKTESTACTION)
test-stackage-ghc80:
stack --stack-yaml stack8.0.yaml $(STACKTESTACTION)
test-stackage-ghc82:
stack --stack-yaml stack.yaml $(STACKTESTACTION)
test-stack%yaml:
stack --stack-yaml stack$*yaml $(STACKAGETESTACTION)
# test-ghc-%: # bin/hledgerdev.ghc-$* \
# $(call def-help,test-ghc-%,\

View File

@ -1,5 +1,4 @@
# stack build plan using GHC 8.2.1
# keep synced with download.md ?
resolver: nightly-2017-09-07
@ -11,4 +10,4 @@ packages:
- hledger
- hledger-ui
- hledger-web
- hledger-api
- hledger-api

View File

@ -1,5 +1,5 @@
# stack build plan using GHC 7.10.3
# keep synced with download.md
# This is unlikely to work on OSX Sierra+ due to https://ghc.haskell.org/trac/ghc/ticket/12479
resolver: lts-6.35

View File

@ -1,5 +1,4 @@
# stack build plan using GHC 8.0.2 (this or newer required for osx sierra+)
# keep synced with download.md
# stack build plan using GHC 8.0.2
resolver: lts-9.3