Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve CI build/test perf #1113

Merged
merged 6 commits into from
Nov 7, 2023
Merged

Improve CI build/test perf #1113

merged 6 commits into from
Nov 7, 2023

Conversation

flaub
Copy link
Member

@flaub flaub commented Nov 7, 2023

  • Use SHA-256 for internal proving tests (2x faster than poseidon)
  • Avoid hanging cargo-risczero tests waiting on stdin
  • Avoid building risc0-zkvm twice with and without the "prove" feature

* Use SHA-256 for internal proving tests (2x faster than poseidon)
* Avoid hanging cargo-risczero tests waiting on stdin
* Avoid building `risc0-zkvm` twice with and without the "prove" feature
@flaub flaub self-assigned this Nov 7, 2023
Copy link

vercel bot commented Nov 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 7, 2023 2:59am

- run: cargo test -p risc0-r0vm -F $FEATURE -F disable-dev-mode
- run: cargo test -p risc0-zkvm -F $FEATURE -F fault-proof -F prove
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NICE! I feel like we should have caught something like this during code review. I'll try my best to be aware of something like this in the future

Copy link
Contributor

@SchmErik SchmErik Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By "Something like this", I meant this hunk and the previous one

@flaub flaub merged commit d86a66c into main Nov 7, 2023
23 checks passed
@flaub flaub deleted the flaub/fix-tests branch November 7, 2023 03:41
flaub added a commit that referenced this pull request Nov 8, 2023
* Use SHA-256 for internal proving tests (2x faster than poseidon)
* Avoid hanging cargo-risczero tests waiting on stdin
* Avoid building `risc0-zkvm` twice with and without the "prove" feature
flaub added a commit that referenced this pull request Nov 8, 2023
* Use SHA-256 for internal proving tests (2x faster than poseidon)
* Avoid hanging cargo-risczero tests waiting on stdin
* Avoid building `risc0-zkvm` twice with and without the "prove" feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants