From 5e2eb803e82e663caa6cd1252a790ba4a1c43adb Mon Sep 17 00:00:00 2001
From: Daniel Gröber <dxld@darkboxed.org>
Date: Sun, 17 Jun 2018 16:05:35 +0200
Subject: ci: Limit compile-test build concurrency

---
 scripts/ci/steps/00-config.sh | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'scripts/ci')

diff --git a/scripts/ci/steps/00-config.sh b/scripts/ci/steps/00-config.sh
index b6c3140..eb8280a 100644
--- a/scripts/ci/steps/00-config.sh
+++ b/scripts/ci/steps/00-config.sh
@@ -8,3 +8,5 @@ fi
 
 source_dir="$(mktemp --tmpdir -d "cabal-helper.sdistXXXXXXXXX")"
 build_dir="$(mktemp --tmpdir -d "cabal-helper.distXXXXXXXXX")"
+
+NPROC=${NPROC:-1}
-- 
cgit v1.2.3