openbsd.yml 900 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # sourcehut CI: https://builds.sr.ht/~jmk/neovim
  2. image: openbsd/6.9
  3. packages:
  4. - autoconf-2.71
  5. - automake-1.16.3
  6. - cmake
  7. - gettext-runtime-0.21p1
  8. - gettext-tools-0.21p1
  9. - gmake
  10. - libtool
  11. - ninja-1.10.2p0
  12. - unzip-6.0p14
  13. sources:
  14. - https://github.com/neovim/neovim
  15. environment:
  16. SOURCEHUT: 1
  17. LC_CTYPE: en_US.UTF-8
  18. CMAKE_EXTRA_FLAGS: -DCI_BUILD=ON -DMIN_LOG_LEVEL=3
  19. tasks:
  20. - build-deps: |
  21. export AUTOCONF_VERSION=2.71
  22. export AUTOMAKE_VERSION=1.16
  23. mkdir neovim/.deps
  24. cd neovim/.deps
  25. cmake -G Ninja ../third-party/
  26. cmake --build . --config RelWithDebInfo
  27. - build: |
  28. mkdir neovim/build
  29. cd neovim/build
  30. cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
  31. cmake --build . --config RelWithDebInfo
  32. ./bin/nvim --version
  33. - functionaltest: |
  34. cd neovim/build
  35. cmake --build . --config RelWithDebInfo --target functionaltest
  36. - oldtest: |
  37. cd neovim
  38. gmake oldtest