freebsd_instance:
image_family: freebsd-12-2
task:
name: CI / build (freebsd-acls)
sysinfo_script:
- mount
- df -h
- sysctl hw.model hw.ncpu hw.physmem
- freebsd-version
- mkdir /tmp/exacl_acls
- mdmfs -o acls -s 5m md /tmp/exacl_acls
- mount
- env
- pkg info
setup_script:
- pkg install -y bash llvm11
- curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y
- mkdir -p /tmp/bin
- curl https://raw.githubusercontent.com/kward/shunit2/master/shunit2 -sSf --output /tmp/bin/shunit2
- chmod ugo+x /tmp/bin/shunit2
test_script:
- . $HOME/.cargo/env
- cargo build
- cargo test --no-run - export PATH="$PATH:/tmp/bin"
- export TMPDIR=/tmp/exacl_acls
- cargo test
- ./tests/run_tests.sh
- export TMPDIR=/tmp
- ./ci/bindgen.sh