on master help sign in
Try to save Haddock as a build artifact
3874bb6mrkkrp
.circleci/config.yml+11
@@ -6,6 +6,11 @@ jobs:
6 - image: nixos/nix:2.1.3
6 - image: nixos/nix:2.1.3
7 steps:
7 steps:
8 - checkout
8 - checkout
9+ - run:
10+ name: Add ca-certificates
11+ command: |
12+ apk --no-progress update
13+ apk --no-progress add ca-certificates
9 - run:
14 - run:
10 name: Setup Cachix
15 name: Setup Cachix
11 command: |
16 command: |
@@ -22,6 +27,12 @@ jobs:
22 - run:
27 - run:
23 name: Build the package (includes running the tests)
28 name: Build the package (includes running the tests)
24 command: nix-build
29 command: nix-build
30+ - run:
31+ name: Generate Haddocks
32+ command: nix-build --attr doc
33+ - store_artifacts:
34+ path: result-doc/share/doc
35+ destination: haddock
25
36
26workflows:
37workflows:
27 version: 2
38 version: 2