Skip to content

Commit

Permalink
Run Rust tests on CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Mar 13, 2019
1 parent 52234fd commit ab7a48c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,29 @@ jobs:
- image: circleci/golang:1.11
steps: *bindings-go-steps

bindings-rust:
docker:
- image: rust:1
steps:
- checkout
- run:
name: Update environment
command: |
apt update
apt -y install libclang-dev clang
rustup component add rustfmt
rustup update
- run:
name: Check formatting
command: |
rustfmt --version
cargo fmt --all -- --check
- run:
name: Build
command: cargo build
- run:
name: Test
command: cargo test

workflows:
version: 2
Expand All @@ -173,6 +196,7 @@ workflows:
- bindings-go-1.11
- bindings-go-1.10
- bindings-go-1.9
- bindings-rust
- test-docs
- upload-docs:
requires:
Expand Down

0 comments on commit ab7a48c

Please sign in to comment.