freebsd.yml 831 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. image: freebsd/12.x
  2. packages:
  3. - cmake
  4. - gmake
  5. - ninja
  6. - libtool
  7. - sha
  8. - automake
  9. - pkgconf
  10. - unzip
  11. - wget
  12. - gettext
  13. - python
  14. - libffi
  15. sources:
  16. - https://github.com/neovim/neovim
  17. environment:
  18. SOURCEHUT: 1
  19. LANG: en_US.UTF-8
  20. CMAKE_EXTRA_FLAGS: -DCI_BUILD=ON -DMIN_LOG_LEVEL=3
  21. tasks:
  22. - build-deps: |
  23. cd neovim
  24. gmake deps
  25. - build: |
  26. cd neovim
  27. gmake CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
  28. - functionaltest: |
  29. cd neovim
  30. gmake functionaltest
  31. - unittest: |
  32. cd neovim
  33. gmake unittest
  34. # Unfortunately, oldtest is tanking hard on sourcehut's FreeBSD instance
  35. # and not producing any logs as a result. So don't do this task for now.
  36. # Ref: https://github.com/neovim/neovim/pull/11477#discussion_r352095005.
  37. # - test-oldtest: |
  38. # cd neovim
  39. # gmake oldtest