CodeChain-io / CodeChain-io/codechain

Sharing binary on test using mutl-stage build and cache

Open
#1,721 1 comment 0 reactions 0 assignees View on GitHub
build test
Dominant language
Rust
Stars
256
Forks
50
PR merge metrics
No merged PRs in 30d

Description

We build CodeChain binary in every task in Travis. It takes about 10-15 mins per task.

1. To run clippy and rustfmt
2. To make sure it doesn't have a compile error.
3. Unit tests and E2E tests.
4. Dynamic validator tests 1
5. Dynamic validator tests 2.

We at least use a build output from 3 in 4, 5.
We might reuse a build cache from 2 in 3. When many features in clippy and rustfmt are stabilized, we also reuse the cache from 1 in 2.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.