Skip to content

Commit 193f763

Browse files
authored
circleci: limit resource use to better stay within limits (#25045)
1 parent b389c92 commit 193f763

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
docker:
1212
- image: circleci/python:2.7
1313
environment:
14-
JULIA_CPU_CORES: 6
15-
JULIA_TEST_MAXRSS_MB: 800
1614
ARCH: i686
15+
JULIA_CPU_CORES: 4
16+
JULIA_TEST_MAXRSS_MB: 800
1717
steps: &steps
1818
- run: | # install build dependencies
1919
sudo apt-get install -y g++-4.8-multilib gfortran-4.8-multilib \
@@ -40,9 +40,9 @@ jobs:
4040
- ccache-{{ arch }}-{{ checksum "/tmp/weeknumber" }}
4141
- run: | # compile julia deps
4242
contrib/download_cmake.sh &&
43-
make -j8 -C deps || make
43+
make -j3 -C deps || make
4444
- run: | # build julia, output ccache stats when done
45-
make -j8 all &&
45+
make -j3 all &&
4646
make prefix=/tmp/julia install &&
4747
ccache -s &&
4848
make build-stats
@@ -74,7 +74,7 @@ jobs:
7474
docker:
7575
- image: circleci/python:2.7
7676
environment:
77-
JULIA_CPU_CORES: 6
78-
JULIA_TEST_MAXRSS_MB: 800
7977
ARCH: x86_64
78+
JULIA_CPU_CORES: 4
79+
JULIA_TEST_MAXRSS_MB: 800
8080
steps: *steps

0 commit comments

Comments
 (0)