@@ -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