man-examples.yml 838 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. #
  3. # SPDX-License-Identifier: curl
  4. name: manpage examples
  5. on:
  6. push:
  7. branches:
  8. - master
  9. - '*/ci'
  10. paths:
  11. - 'docs/libcurl/curl_*.3'
  12. - 'docs/libcurl/opts/*.3'
  13. - '.github/scripts/verify-examples.pl'
  14. pull_request:
  15. branches:
  16. - master
  17. paths:
  18. - 'docs/libcurl/curl_*.3'
  19. - 'docs/libcurl/opts/*.3'
  20. - '.github/scripts/verify-examples.pl'
  21. permissions: {}
  22. jobs:
  23. verify:
  24. runs-on: ubuntu-latest
  25. steps:
  26. - name: Checkout
  27. uses: actions/checkout@v4
  28. - name: render nroff versions
  29. run: autoreconf -fi && ./configure --without-ssl --without-libpsl && make -C docs
  30. - name: verify examples
  31. run: ./.github/scripts/verify-examples.pl docs/libcurl/curl*.3 docs/libcurl/opts/*.3