mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 14:55:32 +00:00
60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
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 "fce/Cargo.toml" }}
|
|
- run: |
|
|
rustup toolchain install stable
|
|
rustup component add rustfmt
|
|
rustup component add clippy
|
|
cd fce
|
|
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 "fce/Cargo.toml" }}
|
|
wit_embedder:
|
|
docker:
|
|
- image: circleci/rust:latest
|
|
environment:
|
|
RUST_BACKTRACE: 1
|
|
#RUST_TEST_THREADS: 1
|
|
steps:
|
|
- checkout
|
|
- restore_cache:
|
|
keys:
|
|
- wit_embedder01-{{ checksum "wit_embedder/Cargo.toml" }}
|
|
- run: |
|
|
rustup toolchain install stable
|
|
rustup component add rustfmt
|
|
rustup component add clippy
|
|
cd wit_embedder
|
|
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: wit_embedder01-{{ checksum "wit_embedder/Cargo.toml" }}
|
|
|
|
workflows:
|
|
version: 2.1
|
|
fce:
|
|
jobs:
|
|
- fce
|
|
- wit_embedder
|