Skip to content

Commit

Permalink
Add Cirrus CI for FreeBSD (#282)
Browse files Browse the repository at this point in the history
Fixes #267
  • Loading branch information
asomers authored May 30, 2023
1 parent 5be16f5 commit 6c8a683
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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-2-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

0 comments on commit 6c8a683

Please sign in to comment.