2018-11-05 17:03:09 +00:00
|
|
|
version: 2
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
docker:
|
2018-11-05 17:10:34 +00:00
|
|
|
- image: circleci/rust:latest
|
2018-11-05 17:03:09 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- restore_cache:
|
|
|
|
keys:
|
|
|
|
- v4-cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
|
2018-11-05 17:12:59 +00:00
|
|
|
- run: sudo apt-get install -y cmake
|
2018-11-05 18:00:22 +00:00
|
|
|
- run: rustup default nightly-2018-10-07
|
2018-11-06 11:20:08 +00:00
|
|
|
- run: make test
|
2018-11-05 17:03:09 +00:00
|
|
|
|
|
|
|
- save_cache:
|
|
|
|
paths:
|
|
|
|
- /usr/local/cargo/registry
|
|
|
|
- target/debug/.fingerprint
|
|
|
|
- target/debug/build
|
|
|
|
- target/debug/deps
|
|
|
|
key: v4-cargo-cache-{{ arch }}-{{ checksum "Cargo.lock" }}
|