forked from tokio-rs/mio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
27 lines (25 loc) · 686 Bytes
/
.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
freebsd_instance:
image: freebsd-12-3-release-amd64
env:
RUST_BACKTRACE: full
task:
name: FreeBSD
setup_script:
- pkg install -y curl
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal
cargo_cache:
folder: $HOME/.cargo/registry
build_script:
- . $HOME/.cargo/env
- cargo build
- cargo build --no-default-features
amd64_test_script:
- . $HOME/.cargo/env
- cargo test --all-features
i386_test_script:
- . $HOME/.cargo/env
- rustup target add i686-unknown-freebsd
- cargo test --target i686-unknown-freebsd --all-features
before_cache_script:
- rm -rf $HOME/.cargo/registry/index