git.iko.soy/typeable/pandoc
on master help sign in
Don't do parallel build with cabal.

Hopefully this fixes the apparent OOM error on GitHub CI?

commitbd175d13b6004086ccd3862822f97c7f090cadb4 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 27 Nov 2019, 20:39 (7 years ago) parent97387f8
1 file changed+2−2
.github/workflows/ci.yml+2−2
.github/workflows/ci.yml+2−2
@@ -63,10 +63,10 @@ jobs:
6363 - name: Build and test
6464 run: |
6565 export PATH=/opt/cabal/${{ matrix.versions.cabal }}/bin:/opt/ghc/${{ matrix.versions.ghc }}/bin:$PATH
66− cabal v2-build --enable-tests --disable-optimization 2>&1 | tee build.log
66+ cabal v2-build --enable-tests -j1 --disable-optimization 2>&1 | tee build.log
6767 # fail if warnings in local build
6868 ! grep -q ": *[Ww]arning:" build.log || exit 1
69− cabal v2-test --disable-optimization
69+ cabal v2-test -j1 --disable-optimization
7070
7171 windows:
7272