freebsd_instance:
  image_family: freebsd-13-2

env:
  CCACHE_DIR: /tmp/ccache
  CIRRUS_CLONE_SUBMODULES: true

task:
  install_script: pkg install -y alsa-lib ccache cmake evdev-proto git libao libevdev libudev-devd libzip mesa-libs miniupnpc ninja pkgconf pulseaudio sdl2
  ccache_cache:
    folder: /tmp/ccache
  script:
    - cmake -B build -DCMAKE_BUILD_TYPE=Release -G Ninja
    - cmake --build build --config Release
