Fix CI so that -Wall -Werror works again!

We were only getting the return status for the tests, apparently,
from `cabal test`. So now we run `cabal build` separately.
This commit is contained in:
John MacFarlane
2025-07-23 08:54:52 -07:00
parent b84ab366e6
commit 655ad77de1
+2 -1
View File
@@ -120,7 +120,8 @@ jobs:
- name: Build and test
run: |
cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options="${{ matrix.verisons.ghcopts }}" all
cabal build ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options="${{ matrix.verisons.ghcopts }}" all
cabal test ${{ matrix.versions.cabalopts }} --disable-optimization --ghc-options="${{ matrix.verisons.ghcopts }}" all
linux-stack: