-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
38 lines (37 loc) · 1.23 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
version: 2
jobs:
build:
docker:
- image: rust:1
steps:
- checkout
- run:
name: Update rustc
command: |
rustup target add wasm32-unknown-unknown
rustup component add rustfmt-preview
rustup update
- run:
name: Check formatting
command: |
rustfmt --version
cargo fmt
git diff --exit-code
- run:
name: Test
command: cargo test --target=x86_64-unknown-linux-gnu
- run:
name: Build
command: |
cargo build --release
# debug
cargo build
cargo build --release --no-default-features
cargo build --release --features debug
cargo build --release --no-default-features --features debug
cargo build --release --features experimental
cargo build --release --no-default-features --features experimental
cargo build --release --features experimental,debug
cargo build --release --no-default-features --features experimental,debug
cargo build --release --features wee_alloc
cargo build --release --features qimalloc