Skip to content
Snippets Groups Projects
Commit fe098b1a authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Try to cache some more of the intermediaries

parent 0ae2bf0c
No related branches found
No related tags found
1 merge request!208Set up Cachix cache
......@@ -159,6 +159,7 @@ jobs:
command: |
nix-env -iA nixpkgs.cachix
cachix use "${CACHIX_NAME}"
nix path-info --all > /tmp/store-path-pre-build
- "checkout"
......@@ -178,8 +179,14 @@ jobs:
nix-build \
--argstr hypothesisProfile ci \
--arg collectCoverage true \
--attr doc |
cachix push "${CACHIX_NAME}"
--attr doc
- run:
name: "Push to Cachix"
when: "always"
command: |
# https://docs.cachix.org/continuous-integration-setup/circleci.html
bash -c "comm -13 <(sort /tmp/store-path-pre-build | grep -v '\.drv$') <(nix path-info --all | grep -v '\.drv$' | sort) | cachix push $CACHIX_NAME"
- run:
name: "Report Coverage"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment