forked from mmastrac/rust-ctor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
21 lines (21 loc) · 658 Bytes
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
task:
name: FreeBSD 13.2
env:
VERSION: stable
HOME: /tmp # cargo needs it
RUST_BACKTRACE: full # Better info for debugging test failures.
freebsd_instance:
image: freebsd-13-3-release-amd64
setup_script:
- fetch https://sh.rustup.rs -o rustup.sh
- sh rustup.sh -y --profile=minimal --default-toolchain ${VERSION}-x86_64-unknown-freebsd
cargo_cache:
folder: $HOME/.cargo/registry
fingerprint_script: cat Cargo.lock || echo ""
build_script:
- . $HOME/.cargo/env || true
- cargo build
test_script:
- . $HOME/.cargo/env || true
- cargo test
before_cache_script: rm -rf $HOME/.cargo/registry/index