ci: fix some redundant building of hledger-lib and hledger

This commit is contained in:
Simon Michael 2023-11-07 04:47:04 -08:00
parent 54b4c2ed22
commit 1eee7f0208

View File

@ -249,10 +249,11 @@ jobs:
env:
stack: ${{ matrix.plan.stack }}
run: |
$stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-lib
$stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger
$stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-ui
$stack install --fast --force-dirty --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-web
# These previously used --force-dirty for some reason.. but that caused four hledger-lib builds and three hledger builds.
$stack install --fast --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-lib
$stack install --fast --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger
$stack install --fast --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-ui
$stack install --fast --ghc-options=-fforce-recomp --ghc-options=-Werror --test --bench hledger-web
# --ghc-options=-split-sections --no-terminal
if: env.CONTINUE