From 617e35ec57496eb4ee54ae826681ab239a39fecd Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 7 Nov 2023 04:59:53 -0800 Subject: [PATCH] ci: really fix some redundant building of hledger-lib and hledger --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce87006ed..51234ae24 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -249,11 +249,12 @@ jobs: env: stack: ${{ matrix.plan.stack }} run: | - # 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 + # These previously used --force-dirty --ghc-options--fforce-recomp for some reason ? + # But that built hledger-lib four times and hledger three times. Try without. + $stack install --fast --ghc-options=-Werror --test --bench hledger-lib + $stack install --fast --ghc-options=-Werror --test --bench hledger + $stack install --fast --ghc-options=-Werror --test --bench hledger-ui + $stack install --fast --ghc-options=-Werror --test --bench hledger-web # --ghc-options=-split-sections --no-terminal if: env.CONTINUE