Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZKAPAuthorizer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Administrator
ZKAPAuthorizer
Commits
043e3f3b
Commit
043e3f3b
authored
4 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
Attempt to speed up the Nix build
parent
c9b95e56
No related branches found
Branches containing commit
No related tags found
1 merge request
!187
Add ``default-token-count`` configuration item
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.circleci/config.yml
+12
-4
12 additions, 4 deletions
.circleci/config.yml
with
12 additions
and
4 deletions
.circleci/config.yml
+
12
−
4
View file @
043e3f3b
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment