Skip to content

Commit

Permalink
circleci: limit resource use to stay within limits
Browse files Browse the repository at this point in the history
[av-skip][freebsd skip][travis-skip]
  • Loading branch information
vtjnash committed Dec 12, 2017
1 parent 66b2090 commit 5c7997a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 5c7997a

Please sign in to comment.