version: 2.1 jobs: build: docker: - image: circleci/rust:latest environment: TZ: "/usr/share/zoneinfo/your/location" steps: - checkout - restore_cache: key: project-cache - run: name: Check formatting command: cargo fmt -- --check - run: name: Stable Build command: cargo build --features "nalgebra-bindings ndarray-bindings" - run: name: Test command: cargo test --features "nalgebra-bindings ndarray-bindings" - save_cache: key: project-cache paths: - "~/.cargo" - "./target"