-
Notifications
You must be signed in to change notification settings - Fork 138
/
test-build.sh
executable file
·43 lines (37 loc) · 1.09 KB
/
test-build.sh
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
#!/bin/bash
set -xe
cargo build
cargo build --no-default-features
cargo build --no-default-features --features managed
cargo build --no-default-features --features unmanaged
cargo build --no-default-features --features serde
cargo build --no-default-features --features managed,serde
cargo build --no-default-features --features unmanaged,serde
cargo build --no-default-features --features managed,unmanaged
(
cd postgres
cargo build
cargo build --no-default-features
cargo build --no-default-features --features rt_tokio_1
cargo build --no-default-features --features rt_async-std_1
)
(
cd redis
cargo build
cargo build --no-default-features --features rt_tokio_1
cargo build --no-default-features --features rt_async-std_1
cargo build --no-default-features --features rt_tokio_1 cluster
cargo build --no-default-features --features rt_async-std_1 cluster
)
(
cd lapin
cargo build
cargo build --no-default-features
cargo build --no-default-features --features rt_tokio_1
cargo build --no-default-features --features rt_async-std_1
)
(
cd sqlite
cargo build
cargo build --no-default-features
)