ci: disable haddock step

takes too long and it runs in nix-build anyway.

Ideally we would do `cabal haddock-project` but that
is not yet available everywhere (due to older haddock).

Maybe revisit later.
This commit is contained in:
sorki 2023-12-02 10:25:46 +01:00
parent 70eb0d35fb
commit 15f77e8f4b
4 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,7 @@ let defSteps = haskellCi.defaultCabalSteps
in haskellCi.generalCi
( haskellCi.withNix
( defSteps
with docStep = None haskellCi.BuildStep
with extraSteps.pre
=
defSteps.extraSteps.pre

View File

@ -7,6 +7,7 @@ let defSteps = haskellCi.defaultCabalSteps
in haskellCi.generalCi
( haskellCi.withNix
( defSteps
with docStep = None haskellCi.BuildStep
with extraSteps.pre
=
defSteps.extraSteps.pre

View File

@ -7,6 +7,8 @@ cd "$( dirname "${BASH_SOURCE[0]}" )"
which dhall || cabal install dhall
which dhall-to-yaml || cabal install dhall-yaml
echo "dhall format-ing ci.dhall"
dhall format ci.dhall
echo "cp haskellCi.dhall -> ci.dhall.frozen"
cp ci.dhall ci.dhall.frozen
echo "dhall freez-ing ci.dhall.frozen"

View File

@ -40,8 +40,6 @@ jobs:
run: "cabal build all --enable-tests --enable-benchmarks"
- name: test all
run: "cabal test all --enable-tests"
- name: haddock all
run: cabal haddock all
- name: Build with Nix
run: "nix-build --argstr compiler $(echo ghc${{ matrix.ghc }} | tr -d '.')"
strategy: