FreeBSD_task:
  freebsd_instance:
    image: freebsd-12-1-release-amd64
  env:
    ASSUME_ALWAYS_YES: TRUE # required for unattanded "pkg" invocation
  prepare_script:
    - pkg install openssl111 git autoconf automake libtool pkgconf opus jpeg-turbo fdk-aac pixman libX11 libXfixes libXrandr nasm
    - git submodule update --init --recursive
  configure_script:
    - ./bootstrap
    - env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure --localstatedir=/var --enable-strict-locations --with-pkgconfigdir=/usr/local/libdata/pkgconfig --enable-strict-locations --enable-ipv6 --enable-opus --enable-jpeg --enable-fdkaac --enable-painter --enable-pixman
  build_script:
    - make -j $(sysctl -n hw.ncpu || echo 4)
  install_script:
    - make install
  test_script:
    - /usr/local/sbin/xrdp -v

Add FreeBSD CI by Cirrus CI
Add FreeBSD CI by Cirrus CI
