Skip to content

Build contracts once#346

Closed
QuentinI wants to merge 1 commit intocelo-integration-rebase-14.2from
optimize-ci-contract-builds
Closed

Build contracts once#346
QuentinI wants to merge 1 commit intocelo-integration-rebase-14.2from
optimize-ci-contract-builds

Conversation

@QuentinI
Copy link
Copy Markdown
Collaborator

@QuentinI QuentinI commented Jan 30, 2026

No description provided.

- Create unified reusable workflow for building contracts
- Support both fast (unoptimized) and optimized builds
- Tests use fast builds for 3-5x faster compilation
- Docker images use optimized builds for production quality
- Build contracts once instead of per matrix job

Benefits:
- espresso-integration: 4x builds → 1x build (~9-15 min saved)
- espresso-devnet-tests: 5x full builds → 1x fast build (~22-45 min saved)
- DRY: Single source of truth for contract building
- Consistent: All workflows use same build process
- Cached: Foundry artifacts cached with proper isolation

Co-authored-by: OpenCode <noreply@opencode.ai>
@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@QuentinI QuentinI changed the title Optimize CI workflows: build contracts once per workflow Build contracts once Jan 30, 2026
@QuentinI QuentinI closed this Feb 17, 2026
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.

1 participant