Build haskell-src-exts single-threaded first

Letting all dependencies build at once can lead to out of memory on CI.
This commit is contained in:
patrick brisbin 2018-09-11 06:34:38 -04:00
parent fbbf455678
commit 8c85728ee9
No known key found for this signature in database
GPG Key ID: 4243EA839B9CC425

View File

@ -3,6 +3,8 @@ all: setup build test lint
.PHONY: setup
setup:
stack setup $(STACK_ARGUMENTS)
# Avoid ExitFailure (-9) (THIS MAY INDICATE OUT OF MEMORY)
stack build $(STACK_ARGUMENTS) -j 1 haskell-src-exts
stack build $(STACK_ARGUMENTS) \
--flag yesod-auth-oauth2:example \
--dependencies-only --test --no-run-tests