You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
681 B
24 lines
681 B
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/rust:latest
|
|
steps:
|
|
- checkout
|
|
- restore_cache:
|
|
key: project-cache
|
|
- run:
|
|
name: Stable Build
|
|
command: |
|
|
cargo --version --verbose
|
|
cargo build -j 1
|
|
- run:
|
|
name: Stable Test (lib)
|
|
command: cargo test -j 1 --lib
|
|
- run:
|
|
name: Stable Test (doc)
|
|
command: cargo test -j 1 --doc
|
|
- save_cache:
|
|
key: project-cache
|
|
paths:
|
|
- "~/.cargo"
|
|
|