Skip to content

fix(ci): significantly speed up CI.#1124

Merged
raulk merged 1 commit intomainfrom
raulk/speed-up-ci
Aug 23, 2024
Merged

fix(ci): significantly speed up CI.#1124
raulk merged 1 commit intomainfrom
raulk/speed-up-ci

Conversation

@raulk
Copy link
Copy Markdown
Contributor

@raulk raulk commented Aug 22, 2024

  • Consolidates the full build of contracts and Rust in a single job.
  • Make Rust caches work, make contracts/ABI/bindings caches work.
  • Produce a Docker image and publish as an artifact, to reuse in e2e tests.
  • Separate e2e tests from unit tests.
  • Delete independent build for ipc-resolver; everything is built at once to minimise overhead.
  • Remove unused workflows.

Notes

  • The contract cache is still not working 100%. Not sure why Foundry doesn't accept the artifacts in out/ and cache/.

Supersedes #1112.

@raulk raulk requested a review from a team as a code owner August 22, 2024 17:52
- Consolidates the full build of contracts and Rust in a single job.
- Make Rust caches work, make contracts/ABI/bindings caches work.
- Produce a Docker image and publish as an artifact, to reuse in e2e tests.
- Separate e2e tests from unit tests.
- Delete independent build for ipc-resolver; everything is built at once to
  minimise overhead.
- Remove unused workflows.
@raulk raulk force-pushed the raulk/speed-up-ci branch from 132b77c to 40af84b Compare August 22, 2024 17:54
@raulk
Copy link
Copy Markdown
Contributor Author

raulk commented Aug 23, 2024

Well, this first build was slow because it didn't get to leverage caches. The merge to master will be slow too. And after that, all builds will speed up.

@raulk raulk merged commit eaa5c9c into main Aug 23, 2024
@raulk raulk deleted the raulk/speed-up-ci branch August 23, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants