-
-
Notifications
You must be signed in to change notification settings - Fork 327
/
.cirrus.yml
89 lines (87 loc) · 4.45 KB
/
.cirrus.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
task:
name: rust 1.74 on freebsd 13
freebsd_instance:
image: freebsd-13-1-release-amd64
setup_script:
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile=minimal --default-toolchain=1.74
- . $HOME/.cargo/env
- rustup --version
- rustup component add clippy
test_script:
- . $HOME/.cargo/env
- cargo check
- RUSTFLAGS=-Dwarnings cargo check --no-default-features
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features system
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,system
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features disk
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,disk
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features component
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,component
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features network
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,network
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features user
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,user
- cargo clippy -- -D warnings
- cargo check --example simple
- FREEBSD_CI=1 cargo test -- --test-threads=1
- FREEBSD_CI=1 cargo test --lib -- --ignored --test-threads=1
task:
name: rust nightly on freebsd 13
freebsd_instance:
image: freebsd-13-1-release-amd64
setup_script:
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile=minimal --default-toolchain=nightly
- . $HOME/.cargo/env
- rustup --version
- rustup component add clippy
test_script:
- . $HOME/.cargo/env
- cargo check
- RUSTFLAGS=-Dwarnings cargo check --no-default-features
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features system
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,system
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features disk
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,disk
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features component
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,component
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features network
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,network
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features user
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,user
- cargo clippy -- -D warnings
- cargo check --example simple
- FREEBSD_CI=1 cargo test -- --test-threads=1
- FREEBSD_CI=1 cargo test --lib -- --test-threads=1
task:
name: rust 1.74 on mac m1
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest
setup_script:
- brew update
- brew install curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile=minimal --default-toolchain=1.74
- source $HOME/.cargo/env
- rustup --version
- rustup component add clippy
test_script:
- source $HOME/.cargo/env
- cargo check
- RUSTFLAGS=-Dwarnings cargo check --no-default-features
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features system
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,system
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features disk
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,disk
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features component
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,component
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features network
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,network
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features user
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features debug,serde,user
- RUSTFLAGS=-Dwarnings cargo check --no-default-features --features apple-sandbox
- cargo clippy -- -D warnings
- cargo check --example simple
- APPLE_CI=1 cargo test -- --test-threads=1
- APPLE_CI=1 cargo test --lib -- --ignored --test-threads=1