aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-27 10:39:25 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-27 10:39:25 -0700
commit3c88a2bf6082dc3af93d0fe65ec63101ddc069fb (patch)
treebd0507ba35ef7c5f39cfef9d0842962cdd7d7037 /.circleci
parent53fd8e02afb3772d04a4a2cd5fdd69839f368da5 (diff)
downloadpandoc-3c88a2bf6082dc3af93d0fe65ec63101ddc069fb.tar.gz
circelci: try using -j1.
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index ca54ad0ab..a0a51ffa4 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -56,15 +56,15 @@ commands:
cd ${TMPDIR}
tar xvzf *.tar.gz
cd *
- cabal v2-build -w ghc-<< parameters.ghcversion >> --disable-optimization --dependencies-only --enable-tests --enable-benchmarks
- cabal v2-build -w ghc-<< parameters.ghcversion >> --disable-optimization --enable-tests --enable-benchmarks 2>build.log
+ cabal v2-build -w ghc-<< parameters.ghcversion >> -j1 --disable-optimization --dependencies-only --enable-tests --enable-benchmarks
+ cabal v2-build -w ghc-<< parameters.ghcversion >> -j1 --disable-optimization --enable-tests --enable-benchmarks 2>build.log
cat build.log
# fail if we had warnings in local build
# this is to work around the fact that cabal v2 doesn't allow
# us to use -Werror for just local build:
# https://github.com/haskell/cabal/issues/4247
! grep -q "warning:" build.log
- cabal v2-test -w ghc-<< parameters.ghcversion >> --disable-optimization --enable-tests
+ cabal v2-test -w ghc-<< parameters.ghcversion >> -j1 --disable-optimization --enable-tests
cabal v2-haddock -w ghc-<< parameters.ghcversion >>
cabal check
- *save