From a8687be4f032fe8f1e565966757a89774f10edc0 Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Tue, 11 Sep 2018 06:34:38 -0400 Subject: [PATCH] Build haskell-src-exts single-threaded first Letting all dependencies build at once can lead to out of memory on CI. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index d2e08f6..0d44d82 100644 --- a/Makefile +++ b/Makefile @@ -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