Skip to content

Commit 5f4f2d2

Browse files
bjorn3squell
andauthored
Add basic FreeBSD CI using Cirrus CI (#923)
This currently only runs unit tests and not the compliance tests. Cirrus CI is the only CI provider I'm aware of which supports FreeBSD out of the box. It does have the disadvantage though that on the free tier it can take several minutes before a CI job actually starts. --------- Co-authored-by: Marc R. Schoolderman <[email protected]>
1 parent 4333366 commit 5f4f2d2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.cirrus.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
task:
2+
name: Cirrus CI / freebsd unit tests
3+
freebsd_instance:
4+
image_family: freebsd-14-2
5+
memory: 2GB
6+
setup_rust_script:
7+
- pkg install -y git-tiny
8+
- curl https://sh.rustup.rs -sSf --output rustup.sh
9+
- sh rustup.sh -y --profile=minimal
10+
test_script:
11+
- . $HOME/.cargo/env
12+
# We skip a couple of tests which fail when running as root.
13+
- cargo test --workspace --all-features --all-targets --release -- --skip group_as_non_root --skip test_secure_open_cookie_file

0 commit comments

Comments
 (0)