1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-24 15:02:21 +01:00
electrs/.circleci/config.yml

32 lines
706 B
YAML
Raw Normal View History

2019-03-08 20:23:58 +02:00
version: 2
jobs:
build:
docker:
2019-09-07 11:57:18 +03:00
- image: rust:1.34.0-slim
2019-03-08 20:23:58 +02:00
steps:
- checkout
- run:
name: Install Dependencies
command: |
apt-get update
apt-get install -y clang cmake libsnappy-dev
rustup component add rustfmt
rustup component add clippy
- run:
name: Format
command: cargo fmt --all -- --check
- run:
name: Check
command: cargo check --all
- run:
name: Clippy
command: cargo clippy --all
- run:
name: Build
command: cargo build --all
- run:
name: Test
command: cargo test --all