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

Attempt to speed up the Nix build

parent c9b95e56
No related branches found
No related tags found
1 merge request!187Add ``default-token-count`` configuration item
......@@ -195,6 +195,17 @@ jobs:
- zkapauthorizer-nix-store-v4-{{ checksum "nixpkgs.rev" }}
- zkapauthorizer-nix-store-v4-
- run:
name: "Build challenge-bypass-ristretto"
command: |
# Pre-build this because doing so is somewhat memory intensive and
# we want to turn off concurrency for this part. We want to be
# able to leave concurrency on for the rest of the build, though,
# where it doesn't cause problems and speeds things up.
nix-build --cores 1 --max-jobs 1 \
--arg callPackage '(import <nixpkgs> { }).callPackage' \
./python-challenge-bypass-ristretto.nix
- run:
name: "Run Test Suite"
command: |
......@@ -208,10 +219,7 @@ jobs:
#
# Further, we want the "doc" output built as well because that's
# where the coverage data ends up.
#
# Also limit the number of concurrent jobs because of resource
# constraints on CircleCI. :/
nix-build --cores 1 --max-jobs 1 --argstr hypothesisProfile ci --arg collectCoverage true --attr doc
nix-build --argstr hypothesisProfile ci --arg collectCoverage true --attr doc
- save_cache:
name: "Cache Nix Store Paths"
......
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