Skip to content

Commit

Permalink
Add basic FreeBSD CI using Cirrus CI
Browse files Browse the repository at this point in the history
This currently only runs unit tests and not the compliance tests.
  • Loading branch information
bjorn3 authored and squell committed Jan 15, 2025
1 parent c1871ba commit 3b06b9c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
task:
name: freebsd unit tests
freebsd_instance:
image_family: freebsd-14-1
memory: 2GB
setup_rust_script:
- pkg install -y git-tiny
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile=minimal
test_script:
- . $HOME/.cargo/env
# We skip a couple of tests which fail when running as root.
- cargo test --workspace --all-features --all-targets --release -- --skip group_as_non_root --skip test_secure_open_cookie_file

0 comments on commit 3b06b9c

Please sign in to comment.