# This is ci/actions-templates/linux-builds-template.yaml
# Do not edit this file in .cirrus.yml

task:
  name: FreeBSD
  freebsd_instance:
    image: freebsd-13-0-release-amd64
  setup_script: |
    pkg install -y git gmake bash
    echo "========="
    echo "create non-root user and log into it"
    pw group add -n tester
    pw user add -n tester -g tester -s `which bash`
    pw user mod tester -d `pwd`
    chown -R tester .
    sudo -u tester bash ci/cirrus-templates/script.bash
