Merge pull request #1 from VolodymyrOrlov/circleci-project-setup

Add .circleci/config.yml
This commit is contained in:
VolodymyrOrlov
2020-06-05 17:49:38 -07:00
committed by GitHub
+26
View File
@@ -0,0 +1,26 @@
version: 2
jobs:
build:
docker:
- image: 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
- run:
name: Test
command: cargo test
- save_cache:
key: project-cache
paths:
- "~/.cargo"
- "./target"