;stack: build with lts-17/ghc-8.10.3 by default

This commit is contained in:
Simon Michael 2021-01-29 15:08:18 -08:00
parent e21bf0c3bc
commit 31868a6892
5 changed files with 46 additions and 28 deletions

View File

@ -45,8 +45,8 @@ jobs:
# - { ghc: "82" , stack: "stack --stack-yaml=stack8.2.yaml" }
# - { ghc: "84" , stack: "stack --stack-yaml=stack8.4.yaml" }
# - { ghc: "86" , stack: "stack --stack-yaml=stack8.6.yaml" }
# - { ghc: "88" , stack: "stack --stack-yaml=stack.yaml" }
- { ghc: "810" , stack: "stack --stack-yaml=stack8.10.yaml" }
# - { ghc: "88" , stack: "stack --stack-yaml=stack8.8.yaml" }
- { ghc: "810" , stack: "stack --stack-yaml=stack.yaml" }
# XXX func tests in bin should be run only with GHC 8.10 for now (see shelltest below)
steps:

View File

@ -41,8 +41,8 @@ jobs:
# - { ghc: "82" , stack: "stack --stack-yaml=stack8.2.yaml" }
# - { ghc: "84" , stack: "stack --stack-yaml=stack8.4.yaml" }
# - { ghc: "86" , stack: "stack --stack-yaml=stack8.6.yaml" }
# - { ghc: "88" , stack: "stack --stack-yaml=stack.yaml" }
- { ghc: "810" , stack: "stack --stack-yaml=stack8.10.yaml" }
# - { ghc: "88" , stack: "stack --stack-yaml=stack8.8.yaml" }
- { ghc: "810" , stack: "stack --stack-yaml=stack.yaml" }
steps:

View File

@ -1,10 +1,10 @@
# stack build plan using GHC 8.8.4
# stack build plan using GHC 8.10.3
nix:
pure: false
packages: [perl gmp ncurses zlib]
resolver: lts-16.25
resolver: lts-17.0
packages:
- hledger-lib
@ -12,10 +12,8 @@ packages:
- hledger-ui
- hledger-web
extra-deps:
# extra-deps:
# for hledger-lib:
- pretty-simple-4.0.0.0
- prettyprinter-1.7.0
# for hledger:
# for hledger-ui:
# for hledger-web:
@ -35,4 +33,4 @@ extra-deps:
# "$targets": -Werror
# "$everything": -O2
# some-package: -DSOME_CPP_FLAG

View File

@ -1,18 +0,0 @@
# stack build plan using GHC 8.10.3
nix:
pure: false
packages: [perl gmp ncurses zlib]
resolver: nightly-2021-01-28
packages:
- hledger-lib
- hledger
- hledger-ui
- hledger-web
# extra-deps:
# - pretty-simple-4.0.0.0
# - prettyprinter-1.7.0
# - prettyprinter-ansi-terminal-1.1.2

38
stack8.8.yaml Normal file
View File

@ -0,0 +1,38 @@
# stack build plan using GHC 8.8.4
nix:
pure: false
packages: [perl gmp ncurses zlib]
resolver: lts-16.31
packages:
- hledger-lib
- hledger
- hledger-ui
- hledger-web
extra-deps:
# for hledger-lib:
- pretty-simple-4.0.0.0
- prettyprinter-1.7.0
# for hledger:
# for hledger-ui:
# for hledger-web:
# for Shake.hs:
# for precise profiling, per https://www.tweag.io/posts/2020-01-30-haskell-profiling.html:
# apply-ghc-options: everything
# rebuild-ghc-options: true
# stack build --profile --ghc-options="-fno-prof-auto"
# tell GHC to write hie files, eg for weeder. Rumoured to be slow.
# ghc-options:
# "$locals": -fwrite-ide-info
# ghc-options:
# "$locals": -ddump-timings
# "$targets": -Werror
# "$everything": -O2
# some-package: -DSOME_CPP_FLAG