disable building benchmarks for ghc-8.2.2 build

And avoid using 8.2.2 in other builds
This commit is contained in:
Harendra Kumar 2018-10-29 03:30:24 +05:30
parent 819786eca9
commit 23e2bdd13f
2 changed files with 10 additions and 8 deletions

View File

@ -86,7 +86,9 @@ matrix:
addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
# Use cabal-install-1.24 for stack solver to work
- env: BUILD=stack GHCVER=8.2.2 RESOLVER=lts-11 GHC_OPTIONS="" DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y
# GHC-8.2.2 hogs memory leading to out-of-memory when compiling benchmarks
# So disable the benchmarks for this build.
- env: BUILD=stack GHCVER=8.2.2 RESOLVER=lts-11 GHC_OPTIONS="" DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y DISABLE_BENCH=y
addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
# Use cabal-install-1.24 for stack solver to work
@ -116,11 +118,11 @@ matrix:
# Using stack builds, cabal builds get terminated because the tests
# take more than 10 minutes and it does not produce any output until the end.
- env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.3
addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.3], sources: [hvr-ghc]}}
- env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.4
addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
- env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.3 GHC_OPTIONS="" STACK_BUILD_OPTIONS="--flag streamly:streamk"
addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.3], sources: [hvr-ghc]}}
- env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.4 GHC_OPTIONS="" STACK_BUILD_OPTIONS="--flag streamly:streamk"
addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
- env: BUILD=cabal-new GHCVER=head GHC_OPTIONS=""
addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
@ -133,8 +135,8 @@ matrix:
# OS X builds
# --------------------------------------------------------------------------
# GHC 8.2.2/cabal build using stack!
- env: BUILD=cabal-new RESOLVER=lts-11 GHCVER=8.2.2 GHC_OPTIONS=""
# GHC 8.4/cabal build using stack!
- env: BUILD=cabal-new RESOLVER=lts-12 GHCVER=8.4 GHC_OPTIONS=""
os: osx
# GHC 8.2.2/stack

View File

@ -31,7 +31,7 @@ environment:
# version.
#STACKVER: "1.6.5"
STACK_UPGRADE: "y"
RESOLVER: "lts-11"
RESOLVER: "lts-12"
STACK_ROOT: "c:\\sr"
# ------------------------------------------------------------------------