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

CI: set up the CI/CD pipeline #3

Merged
merged 3 commits into from
Nov 20, 2023
Merged

CI: set up the CI/CD pipeline #3

merged 3 commits into from
Nov 20, 2023

Conversation

odesenfans
Copy link
Contributor

No description provided.

@odesenfans odesenfans force-pushed the od/ci-cd branch 6 times, most recently from a95870f to 4fcb202 Compare November 14, 2023 10:54
@odesenfans
Copy link
Contributor Author

Depends on #2.

Cloning repositories from the `build.rs` script is tedious:
* need to detect whether the repository is cloned already
* need to checkout to the right commit
* need to determine when to rebuild the prover.

Submodules make these problems easier to solve. The prover is now
managed as a submodule and `build.rs` is configured to only rebuild it
if the submodule HEAD is updated.

done
Problem: building the prover from scratch takes ages.

Solution: cache the generated Docker image and reuse it for subsequent
builds. This caching solution makes the build closer to a local dev
environment where the prover has already been built once.
@odesenfans odesenfans marked this pull request as ready for review November 17, 2023 10:10
@odesenfans odesenfans merged commit 57347e7 into main Nov 20, 2023
1 check passed
@odesenfans odesenfans deleted the od/ci-cd branch November 20, 2023 09:39
@odesenfans odesenfans mentioned this pull request Nov 28, 2023
16 tasks
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.

2 participants