feat(ci): add CSP benchmarks and C-API static library#77
Merged
Conversation
Wire src/c_api.zig into build.zig as a separate static library target (libzolt_capi.a) for FFI consumption. Add a non-blocking CI job that clones csp-benchmarks and runs the SHA-256 criterion benchmarks in test mode on macOS ARM64. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The nested checkout caused the csp-benchmarks directory to not exist. Check out both repos at the workspace root so paths resolve correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Point to MatteoMer/csp-benchmarks fork (feat/add-zolt-bench branch) which has the zolt-bench crate. No token needed since the fork is public. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add run_csp_benchmarks input toggle, matching the pattern used by the extended proof jobs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/c_api.zigas azolt_capistatic library target inbuild.zig(produceslibzolt_capi.afor FFI from Rust)privacy-ethereum/csp-benchmarksand runs SHA-256 criterion benchmarks in test mode on macOS ARM64Test plan
zig build -Doptimize=ReleaseFastproduceszig-out/lib/libzolt_capi.aCSP_BENCHMARKS_TOKENsecret configured🤖 Generated with Claude Code