Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

circleci: limit resource use to stay within limits #25045

Merged
merged 1 commit into from
Dec 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 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 \
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: 4
JULIA_TEST_MAXRSS_MB: 800
steps: *steps