git.iko.soy/typeable/pandoc
on master help sign in
benchmark CI improvements.

- don't build tests, just benchmarks. - get allocation info.

commit21d0b4745b46f8622b31647c81a9d9178b1a579d authorJohn MacFarlane <jgm@berkeley.edu> dateMon 22 Feb 2021, 22:09 (6 years ago) parent15bf01c
1 file changed+3−3
.github/workflows/ci.yml+3−3
.github/workflows/ci.yml+3−3
@@ -239,12 +239,12 @@ jobs:
239239 run: |
240240 v2=$([ "${{ matrix.versions.cabal }}" = "2.2" ] && printf 'new' || printf 'v2')
241241 cabal $v2-update
242− cabal $v2-build --dependencies-only --enable-optimization=1 --enable-benchmarks
242+ cabal $v2-build --dependencies-only --enable-optimization=1 --enable-benchmarks --disable-tests
243243
244244 - name: Build and test
245245 run: |
246246 v2=$([ "${{ matrix.versions.cabal }}" = "2.2" ] && printf 'new' || printf 'v2')
247− cabal $v2-build --enable-optimization=1 --enable-benchmarks 2>&1 | tee build.log
247+ cabal $v2-build --enable-optimization=1 --enable-benchmarks --disable-tests 2>&1 | tee build.log
248248 # fail if warnings in local build
249249 ! grep -q ": *[Ww]arning:" build.log || exit 1
250− cabal $v2-bench --enable-optimization=1
250+ cabal $v2-bench --enable-optimization=1 --benchmark-options='--timeout=6 +RTS -T -RTS'