-
Notifications
You must be signed in to change notification settings - Fork 15
/
circle.yml
45 lines (44 loc) · 1.1 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: 2
jobs:
build:
docker:
- image: rust:1-buster
steps:
- checkout
- run:
name: Update submodules
command: |
git submodule update --init
- run:
name: Install libclang
command: |
apt update
apt -y install libclang-dev clang cmake libboost-all-dev
rustup component add rustfmt
rustup update
- run:
name: Update rustc
command: |
rustup component add rustfmt
rustup update
cargo --version
rustc --version
- run:
name: Check formatting
command: |
rustfmt --version
cargo fmt --all -- --check
- run:
name: Build
# Building the C++ binding can take longer than 10 mins.
no_output_timeout: 45m
command: |
cargo build -j4 --release -vv
- run:
name: Test
command: |
cargo test -j4
- run:
name: Rustdoc
command: |
cargo doc -j4