rnp icon indicating copy to clipboard operation
rnp copied to clipboard

Add CI tests to check whether man pages are built and installed correctly.

Open ni4 opened this issue 4 years ago • 3 comments

Description

Once PR #1425 is merged we may add or update existing CI tests to make sure that man pages are build and installed if pandoc is present, and build doesn't error if there is no pandoc.

Some related discussion is here: https://github.com/rnpgp/rnp/issues/506#issuecomment-788530601

ni4 avatar Mar 02 '21 10:03 ni4

Changed to use Asciidoctor instead of Pandoc. The macOS, ubuntu, FreeBSD environments should already work with #1425 via ci/install.sh.

These environments need installation of Asciidoctor to generate man pages:

  • CentOS 7
  • Windows
  • Windows MSVC

ronaldtse avatar Mar 04 '21 01:03 ronaldtse

CentOS/Fedora - CI tests for man pages are implemented in https://github.com/rnpgp/rnp/pull/2013 Ubuntu - CI tests for man pages are implemented in https://github.com/rnpgp/rnp/pull/2058

maxirmx avatar Apr 21 '23 20:04 maxirmx

We have installation tests for man pages for CentOS/Fedora; Ubuntu; FreeBSD

CentOS/Fedora flows work as expected On Ubuntu rnp.1; rnpkeys.1; librnp.3 are packaged (and installed) instead of rnp.1.gz; rnpkeys.1.gz; librnp.3.gz On FreeBSD nothing is packaged (and installed) although man files are build correctly.

It looks like cmake/cpack issue that needs additional research. I was not able to find any relevant discussions. Not sure though if it is of significant importance. I belive package maintainers use some other scripts or tools, not cpack .

maxirmx avatar Apr 24 '23 20:04 maxirmx