2020-05-02 09:09:49 +00:00
|
|
|
version: 2.1
|
|
|
|
jobs:
|
|
|
|
fce:
|
|
|
|
docker:
|
|
|
|
- image: circleci/rust:latest
|
|
|
|
environment:
|
|
|
|
RUST_BACKTRACE: 1
|
2020-05-02 15:34:48 +00:00
|
|
|
#RUST_TEST_THREADS: 1
|
2020-05-02 09:09:49 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
|
|
keys:
|
|
|
|
- fce01-{{ checksum "Cargo.toml" }}
|
|
|
|
- run: |
|
|
|
|
rustup toolchain install stable
|
|
|
|
rustup component add rustfmt
|
|
|
|
rustup component add clippy
|
|
|
|
cargo fmt --all -- --check --color always
|
|
|
|
cargo build -v --all-features
|
|
|
|
cargo test -v --all-features
|
|
|
|
cargo clippy -v
|
|
|
|
- save_cache:
|
|
|
|
paths:
|
|
|
|
- ~/.cargo
|
|
|
|
- ~/.rustup
|
|
|
|
key: fce01-{{ checksum "Cargo.toml" }}
|
|
|
|
|
|
|
|
workflows:
|
2020-05-02 09:12:16 +00:00
|
|
|
version: 2.1
|
|
|
|
fce:
|
2020-05-02 09:09:49 +00:00
|
|
|
jobs:
|
|
|
|
- fce
|
|
|
|
|