Try to save Haddock as a build artifact
commit3874bb658862285da8c4356adba60f26383a50d1
authormrkkrp <mark.karpov@tweag.io>
dateFri 31 May 2019, 15:50 (7 years ago)
parent47ffeb1
.circleci/config.yml+11
@@ -6,6 +6,11 @@ jobs:
66 - image: nixos/nix:2.1.3
77 steps:
88 - checkout
9+ - run:
10+ name: Add ca-certificates
11+ command: |
12+ apk --no-progress update
13+ apk --no-progress add ca-certificates
914 - run:
1015 name: Setup Cachix
1116 command: |
@@ -22,6 +27,12 @@ jobs:
2227 - run:
2328 name: Build the package (includes running the tests)
2429 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
2536
2637workflows:
2738 version: 2