Build Cabal in -j 1 step

Un-cached builds cannot succeed without exhausting memory. Doing fewer
packages concurrently can sometimes resolve this. This is trial and
error.

https://app.circleci.com/jobs/github/thoughtbot/yesod-auth-oauth2/1022
This commit is contained in:
patrick brisbin 2020-01-27 10:12:25 -05:00
parent b998e03067
commit 036458c7a8

View File

@ -10,7 +10,7 @@ setup.lint:
.PHONY: dependencies .PHONY: dependencies
dependencies: dependencies:
stack build $(STACK_ARGUMENTS) -j 1 haskell-src-exts stack build $(STACK_ARGUMENTS) -j 1 Cabal haskell-src-exts
stack build $(STACK_ARGUMENTS) \ stack build $(STACK_ARGUMENTS) \
--flag yesod-auth-oauth2:example \ --flag yesod-auth-oauth2:example \
--dependencies-only --test --no-run-tests --dependencies-only --test --no-run-tests