.cirrus.yml 768 B

12345678910111213141516171819202122232425262728
  1. env:
  2. CIRRUS_CLONE_DEPTH: '2'
  3. LANG: en_US.UTF-8
  4. freebsd_task:
  5. name: FreeBSD
  6. only_if: $BRANCH != "master"
  7. freebsd_instance:
  8. image_family: freebsd-13-1
  9. timeout_in: 30m
  10. install_script:
  11. - pkg install -y cmake gmake ninja pkgconf unzip wget gettext python libffi git
  12. build_deps_script:
  13. - gmake deps
  14. build_script:
  15. - gmake CMAKE_EXTRA_FLAGS="-DCI_BUILD=ON" nvim
  16. workaround_script:
  17. # Run tests as user "cirrus" instead of root. This is required for the
  18. # permission-related tests to work correctly.
  19. - pw useradd cirrus -m
  20. - chown -R cirrus:cirrus .
  21. functionaltest_script:
  22. - sudo -u cirrus gmake functionaltest
  23. unittest_script:
  24. - sudo -u cirrus gmake unittest
  25. oldtest_script:
  26. - sudo -u cirrus gmake oldtest