-
Notifications
You must be signed in to change notification settings - Fork 15
/
.cirrus.yml
38 lines (35 loc) · 1019 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
28
29
30
31
32
33
34
35
36
37
38
setup: &FREEBSD_SETUP
env:
HOME: /tmp # cargo needs it
RUST_BACKTRACE: full # Better info for debugging test failures.
setup_script:
- pkg install -y llvm
- fetch https://sh.rustup.rs -o rustup.sh
- sh rustup.sh -y --profile=minimal --default-toolchain ${VERSION}
build: &BUILD_TEST
cargo_cache:
folder: $HOME/.cargo/registry
fingerprint_script: cat Cargo.lock || echo ""
build_script:
- env PATH="$HOME/.cargo/bin:$PATH" cargo build --all-features
test_script:
- mdconfig -a -s 96m -u1
- env PATH="$HOME/.cargo/bin:$PATH" cargo test --all-features
task:
name: FreeBSD 14
env:
VERSION: stable
freebsd_instance:
image_family: freebsd-14-0-snap
<< : *FREEBSD_SETUP
<< : *BUILD_TEST
before_cache_script: rm -rf $HOME/.cargo/registry/index
task:
name: FreeBSD 13
env:
VERSION: stable
freebsd_instance:
image: freebsd-13-3-release-amd64
<< : *FREEBSD_SETUP
<< : *BUILD_TEST
before_cache_script: rm -rf $HOME/.cargo/registry/index