From 5c7997ab1dfe3f41a292eac5c68642470424168e Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Tue, 12 Dec 2017 11:52:55 -0500 Subject: [PATCH] circleci: limit resource use to stay within limits [av-skip][freebsd skip][travis-skip] --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 61e897f60ca31e..57b65f0b91b901 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,9 +11,9 @@ jobs: docker: - image: circleci/python:2.7 environment: - JULIA_CPU_CORES: 6 - JULIA_TEST_MAXRSS_MB: 800 ARCH: i686 + JULIA_CPU_CORES: 2 + JULIA_TEST_MAXRSS_MB: 1200 steps: &steps - run: | # install build dependencies sudo apt-get install -y g++-4.8-multilib gfortran-4.8-multilib \ @@ -40,9 +40,9 @@ jobs: - ccache-{{ arch }}-{{ checksum "/tmp/weeknumber" }} - run: | # compile julia deps contrib/download_cmake.sh && - make -j8 -C deps || make + make -j3 -C deps || make - run: | # build julia, output ccache stats when done - make -j8 all && + make -j3 all && make prefix=/tmp/julia install && ccache -s && make build-stats @@ -74,7 +74,7 @@ jobs: docker: - image: circleci/python:2.7 environment: - JULIA_CPU_CORES: 6 - JULIA_TEST_MAXRSS_MB: 800 ARCH: x86_64 + JULIA_CPU_CORES: 2 + JULIA_TEST_MAXRSS_MB: 1200 steps: *steps