mirror of
https://github.com/fluencelabs/marine.git
synced 2025-03-15 05:50:49 +00:00
Add .circleci/config.yml
This commit is contained in:
parent
6596a255a8
commit
661c9731a2
33
.circleci/config.yml
Normal file
33
.circleci/config.yml
Normal file
@ -0,0 +1,33 @@
|
||||
version: 2.1
|
||||
jobs:
|
||||
fce:
|
||||
docker:
|
||||
- image: circleci/rust:latest
|
||||
environment:
|
||||
RUST_BACKTRACE: 1
|
||||
RUST_TEST_THREADS: 1
|
||||
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:
|
||||
version: 2
|
||||
arqada:
|
||||
jobs:
|
||||
- fce
|
||||
|
Loading…
x
Reference in New Issue
Block a user