.cirrus.yml 865 B

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