| 1 | task: |
| 2 | name: Cirrus CI / freebsd unit tests |
| 3 | freebsd_instance: |
| 4 | image_family: freebsd-15-0-amd64-ufs |
| 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 | - | |
| 13 | # We skip a couple of tests which fail when running as root. |
| 14 | # test_traverse_secure_open_positive fails because the build directory is |
| 15 | # in the world writable /tmp. |
| 16 | cargo test --workspace --all-targets --release -- --skip group_as_non_root \ |
| 17 | --skip test_secure_open_cookie_file --skip test_traverse_secure_open_positive |