actions.py 651 B

123456789101112131415161718192021222324252627282930
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import cmaketools, mesontools, pisitools
  7. i = ''.join([
  8. ' -DBUILD_TOOLS=ON',
  9. ' -DENABLE_LTO=OFF',
  10. ' -DUSE_CMARK_GFM=ON',
  11. ' -DUSE_CMARK=OFF',
  12. ' -DCMAKE_BUILD_TYPE=Release',
  13. ' -DCRE_BUILD_STATIC=OFF',
  14. ' -DADD_DEBUG_EXTRA_OPTS=OFF',
  15. ' -B_build -G Ninja -L '
  16. ])
  17. def setup():
  18. cmaketools.configure(i)
  19. def build():
  20. mesontools.build("-C _build")
  21. def install():
  22. mesontools.install("-C _build")
  23. pisitools.dodoc("AUTHORS", "ChangeLog")