version: 2
jobs:
build:
docker:
- image: rust:stretch
steps:
- checkout
- run:
name: Install dependencies
command: apt-get update; apt-get install libsystemd-dev
- run:
name: Rust versions
command: rustc --version && cargo --version
- run:
name: Cargo build
command: cargo build --release