@@ -40,6 +40,7 @@ env: &env
4040 CABAL_CHECK_RELAX: "y"
4141 CABAL_NO_SANDBOX: "y"
4242 CABAL_HACKAGE_MIRROR: "hackage.haskell.org:http://hackage.fpcomplete.com"
43+ CABAL_BUILD_OPTIONS: "--flag limit-build-mem"
4344
4445 # ------------------------------------------------------------------------
4546 # Where to find the required tools
@@ -185,7 +186,7 @@ jobs:
185186 environment:
186187 BUILD: "cabal-v2"
187188 GHCVER: "8.4.4"
188− CABAL_BUILD_OPTIONS: "--flag debug"
189+ CABAL_BUILD_OPTIONS: "--flag debug --flag limit-build-mem"
189190 command: |
190191 apt-get install -y ghc-8.4.4
191192 apt-get install -y cabal-install-3.2