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 f024156
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 @@ -6,13 +6,15 @@ workflows:
- build-i686
- build-x86_64

environment:
JULIA_CPU_CORES: 2
JULIA_TEST_MAXRSS_MB: 1200

jobs:
build-i686:
docker:
- image: circleci/python:2.7
environment:
JULIA_CPU_CORES: 6
JULIA_TEST_MAXRSS_MB: 800
ARCH: i686
steps: &steps
- run: | # install build dependencies
Expand Down Expand Up @@ -40,9 +42,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 +76,5 @@ jobs:
docker:
- image: circleci/python:2.7
environment:
JULIA_CPU_CORES: 6
JULIA_TEST_MAXRSS_MB: 800
ARCH: x86_64
steps: *steps

0 comments on commit f024156

Please sign in to comment.