aboutsummaryrefslogtreecommitdiffhomepage
path: root/.circleci
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2021-04-06 12:19:33 +0200
committerRon Evans <[email protected]>2021-04-06 12:57:43 +0200
commitf880950c3efbd005d2e171a5fd1c879a3221367c (patch)
tree33a8b69a25e22a9475a09438cb9bdcfb6845bb91 /.circleci
parent1bed192de059e05bda2d024dae39adbb43ba335f (diff)
downloadtinygo-f880950c3efbd005d2e171a5fd1c879a3221367c.tar.gz
tinygo-f880950c3efbd005d2e171a5fd1c879a3221367c.zip
ci: limit number of jobs for assert-test-linux
This job is causing OOM errors on CircleCI so limit it to just two jobs (which should be fine on a 2CPU executor). Hopefully this fixes the errors in CI that have occured recently.
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 316507c9f..df88adaa1 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -172,7 +172,11 @@ commands:
key: llvm-build-11-linux-v2-assert
paths:
llvm-build
- - run: make ASSERT=1
+ - run: |
+ # Note: -p=2 limits parallelism to two jobs at a time, which is
+ # necessary to keep memory consumption down and avoid OOM (for a
+ # 2CPU/4GB executor).
+ GOFLAGS="-p=2" make ASSERT=1
- build-wasi-libc
- run:
name: "Test TinyGo"