From 27ecd894caa178a638d98212375df33796e9e7af Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 13 Oct 2022 23:46:07 -0700 Subject: CI: make sure we catch benchmark build failure. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b59b741f1..c893efa9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -105,7 +105,7 @@ jobs: run: | cabal build ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization 2>&1 | tee build.log # fail if warnings in local build - ! grep -q ": *[Ww]arning:" build.log || exit 1 + ! grep -q ": *[Ww]arning:\|: *error:" build.log || exit 1 cabal test all ${{ matrix.versions.cabalopts }} --disable-optimization ${{ matrix.versions.testopts }} windows: -- cgit v1.2.3