on master help sign in
disable building benchmarks for ghc-8.2.2 build

And avoid using 8.2.2 in other builds

commit23e2bdd13fcf5ce8daa9cbb34116bd423ae11a4e authorHarendra Kumar <harendra.kumar@gmail.com> dateMon 29 Oct 2018, 03:30 (8 years ago) parent819786e
2 files changed+10−8
.travis.yml+9−7 appveyor.yml+1−1
.travis.yml+9−7
@@ -86,7 +86,9 @@ matrix:
8686 addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
8787
8888 # Use cabal-install-1.24 for stack solver to work
89− - env: BUILD=stack GHCVER=8.2.2 RESOLVER=lts-11 GHC_OPTIONS="" DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y
89+ # GHC-8.2.2 hogs memory leading to out-of-memory when compiling benchmarks
90+ # So disable the benchmarks for this build.
91+ - env: BUILD=stack GHCVER=8.2.2 RESOLVER=lts-11 GHC_OPTIONS="" DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y DISABLE_BENCH=y
9092 addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
9193
9294 # Use cabal-install-1.24 for stack solver to work
@@ -116,11 +118,11 @@ matrix:
116118
117119 # Using stack builds, cabal builds get terminated because the tests
118120 # take more than 10 minutes and it does not produce any output until the end.
119− - env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.3
120− addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.3], sources: [hvr-ghc]}}
121+ - env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.4
122+ addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
121123
122− - env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.3 GHC_OPTIONS="" STACK_BUILD_OPTIONS="--flag streamly:streamk"
123− addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.3], sources: [hvr-ghc]}}
124+ - env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.4 GHC_OPTIONS="" STACK_BUILD_OPTIONS="--flag streamly:streamk"
125+ addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
124126
125127 - env: BUILD=cabal-new GHCVER=head GHC_OPTIONS=""
126128 addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
@@ -133,8 +135,8 @@ matrix:
133135 # OS X builds
134136 # --------------------------------------------------------------------------
135137
136− # GHC 8.2.2/cabal build using stack!
137− - env: BUILD=cabal-new RESOLVER=lts-11 GHCVER=8.2.2 GHC_OPTIONS=""
138+ # GHC 8.4/cabal build using stack!
139+ - env: BUILD=cabal-new RESOLVER=lts-12 GHCVER=8.4 GHC_OPTIONS=""
138140 os: osx
139141
140142 # GHC 8.2.2/stack
appveyor.yml+1−1
@@ -31,7 +31,7 @@ environment:
3131 # version.
3232 #STACKVER: "1.6.5"
3333 STACK_UPGRADE: "y"
34− RESOLVER: "lts-11"
34+ RESOLVER: "lts-12"
3535 STACK_ROOT: "c:\\sr"
3636
3737 # ------------------------------------------------------------------------