Commit ccc93ba9 authored by Valentin Reis's avatar Valentin Reis
Browse files

[ci] adding `doc` makefile target to CI.

parent f0bce9ab
Pipeline #10310 failed
stages:
- source
- lib
- docs
- build
variables:
NIX_PATH: "nixpkgs=./."
ormolu:
make:ormolu:
stage: source
tags:
- kvm
......@@ -14,7 +13,7 @@ ormolu:
script:
- nix-shell -p gnumake --run "make ormolu"
hlint:
make:hlint:
stage: source
tags:
- kvm
......@@ -22,7 +21,7 @@ hlint:
script:
- nix-shell -p gnumake --run "make hlint"
shellcheck:
make:shellcheck:
stage: source
tags:
- kvm
......@@ -30,7 +29,7 @@ shellcheck:
script:
- nix-shell -p gnumake --run "make shellcheck"
dhall-format:
make:dhall-format:
stage: source
tags:
- kvm
......@@ -38,13 +37,21 @@ dhall-format:
script:
- nix-shell -p gnumake --run "make dhall-format"
nix-build:
stage: lib
nix:package:
stage: build
tags:
- kvm
- nix
script: nix-build -A hbandit --no-build-output
make:doc:
stage: build
tags:
- kvm
- nix
script: make doc
readthedocs:
stage: docs
when: on_success
......
......@@ -24,8 +24,9 @@ in pkgs // rec {
overrides = self: super:
with pkgs.haskell.lib; rec {
hbandit = self.callPackage ./hbandit.nix {};
panpipe = doJailbreak super.panpipe;
panpipe = unmarkBroken (doJailbreak super.panpipe);
refined = unmarkBroken super.refined;
dhall-to-cabal = unmarkBroken super.dhall-to-cabal;
lazysmallcheck2012 = null;
panhandle = doJailbreak (dontCheck (self.callCabal2nix "panhandle"
(builtins.fetchTarball
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment