marine/.circleci/config.yml

60 lines
1.5 KiB
YAML
Raw Normal View History

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:
2020-05-28 20:20:24 +00:00
- fce01-{{ checksum "fce/Cargo.toml" }}
2020-05-02 09:09:49 +00:00
- run: |
rustup toolchain install stable
rustup component add rustfmt
rustup component add clippy
2020-05-28 20:20:24 +00:00
cd fce
2020-05-02 09:09:49 +00:00
cargo fmt --all -- --check --color always
cargo build -v --all-features
cargo test -v --all-features
cargo clippy -v
- save_cache:
paths:
- ~/.cargo
- ~/.rustup
2020-05-28 20:20:24 +00:00
key: fce01-{{ checksum "fce/Cargo.toml" }}
2020-05-28 20:24:00 +00:00
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" }}
2020-05-02 09:09:49 +00:00
workflows:
2020-05-02 09:12:16 +00:00
version: 2.1
fce:
2020-05-02 09:09:49 +00:00
jobs:
- fce
2020-05-28 20:24:00 +00:00
- wit_embedder