summaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
blob: ecd7c7f31d76791123b0baf6b05bf62d1cff1f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
freebsd_instance:
  image_family: freebsd-12-1

task:
  install_script: |
    mount -t fdescfs fdescfs /dev/fd
    pkg install -y bash git gmake
    ln -s ../usr/local/bin/bash /bin/bash
    pw groupadd -n users
    pw useradd -n user -g users -s /bin/sh -m
    git clone . ~user/bfs
    chown -R user:users ~user/bfs
  test_script: |
    su user -c "gmake -C ~/bfs check"