From 950ec6f4e60b9190b9174862f2df73fce704380c Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:47:22 +0100 Subject: [PATCH] Add basic FreeBSD CI using Cirrus CI This currently only runs unit tests and not the compliance tests. --- .cirrus.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 000000000..a685c8907 --- /dev/null +++ b/.cirrus.yml @@ -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