Skip to content

Commit

Permalink
Merge pull request #1 from VolodymyrOrlov/circleci-project-setup
Browse files Browse the repository at this point in the history
Add .circleci/config.yml
  • Loading branch information
VolodymyrOrlov committed Jun 6, 2020
2 parents c0c2029 + 9e782cb commit 685be04
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 685be04

Please sign in to comment.