From 16bd6c50e4b614bacdc0c21fdfc9b3c6d29e2e03 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 better stay within limits [av skip][bsd 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 61e897f60ca31..7c7cfe0abb44a 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: 4 + JULIA_TEST_MAXRSS_MB: 800 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: 4 + JULIA_TEST_MAXRSS_MB: 800 steps: *steps