Skip to content

Commit

Permalink
feature(build): circle-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSchuette committed Aug 25, 2019
1 parent 951f1c8 commit dd874b3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: 2

jobs:
build:
docker:
- image: circleci/rust:1.37.0

steps:
- checkout
- run:
name: Check formatting
command: |
rustfmt --version
cargo fmt --
- run:
name: Build
command: |
rustc --version --verbose
cargo --version --verbose
cargo doc --no-deps
cargo build --release
rm -rf public
mkdir public
cp -R target/doc/* public
- run:
name: Test
command: cargo test
- save_cache:
key: project-cache
paths:
- "~/.cargo"
- "./target"

0 comments on commit dd874b3

Please sign in to comment.