aboutsummaryrefslogtreecommitdiff
path: root/ci.sh
blob: c8502634670c07e8a9b8c63d55df1adc8fc6351d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash -x
set -ex

cargo "$@" build
cargo "$@" test --all-features
cargo "$@" test --all-features --examples

cargo "$@" test --bench json --bench http -- --test
cargo "$@" check --bench mp4 --features mp4

cargo "$@" build --no-default-features --features alloc
cargo "$@" test --no-default-features --features alloc --examples

cargo "$@" build --no-default-features
cargo "$@" test --no-default-features --examples

cargo "$@" check --no-default-features --features tokio-02
cargo "$@" check --no-default-features --features tokio-03