8 releases
0.0.21 | Oct 20, 2021 |
---|---|
0.0.20 | Oct 19, 2021 |
0.0.1 | Sep 16, 2021 |
#584 in Authentication
74KB
1.5K
SLoC
brr
A dead-simple, ultra-fast build farm for Rust
Overview
Brr is the Buildrecall CLI. If you're not familiar with Buildrecall, we make your builds run really fast.
Features:
- 48 CPU cores, 192 GiB RAM
- Starts your build incrementally while you're programming.
- Use your existing CI, just replaces your build step.
Install
cargo install brr
Usage
Login to Buildrecall with a bash-history safe token you can get here.
brr login <token>
Attach a build farm to a repository on your local development environment.
# ./my-rust-project
brr attach my-rust-project
Create a job you'd like to run in the buildrecall.toml
that was just created:
[project]
name = 'my-rust-project'
[[jobs]]
name = "mybuild"
run = "cargo build --release"
artifacts = ["target"]
Run your job:
brr run mybuild
In your CI (such as Github Actions), add a BUILDRECALL_API_KEY
environment variable (you can get a key here), and then you don't need to login:
BUILDRECALL_API_KEY=my_secret_key brr run mybuild
Dependencies
~45–63MB
~1.5M SLoC