forked from GuillaumeGomez/sysinfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
37 lines (36 loc) · 1.07 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
task:
name: rust 1.54 on freebsd 13
freebsd_instance:
image: freebsd-13-0-release-amd64
setup_script:
- pkg install -y curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile=minimal --default-toolchain=1.54
- . $HOME/.cargo/env
- rustup --version
- rustup component add clippy
test_script:
- . $HOME/.cargo/env
- cargo check
- cargo check --no-default-features
- cargo clippy -- -D warnings
- cargo check --example simple
- FREEBSD_CI=1 cargo test -j1
task:
name: rust nightly on freebsd 13
freebsd_instance:
image: freebsd-13-0-release-amd64
setup_script:
- pkg install -y curl
- 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
- cargo check --no-default-features
- cargo clippy -- -D warnings
- cargo check --example simple
- FREEBSD_CI=1 cargo test -j1