docs/libcurl: make examples build with picky compiler options

Found by improving verify-examples.pl:

- Operate directly on markdown files to remove the need to render nroff files
  first.

- Add -Wall as a compiler option to find more issues

Closes #17028
This commit is contained in:
Daniel Stenberg 2025-04-11 14:40:48 +02:00
parent d9a86b6729
commit 960984263f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
24 changed files with 48 additions and 45 deletions

View file

@ -140,11 +140,8 @@ jobs:
persist-credentials: false
name: checkout
- name: render nroff versions
run: autoreconf -fi && ./configure --without-ssl --without-libpsl && make -C docs
- name: verify examples
run: .github/scripts/verify-examples.pl docs/libcurl/curl*.3 docs/libcurl/opts/*.3
run: .github/scripts/verify-examples.pl docs/libcurl/curl*.md docs/libcurl/opts/*.md
miscchecks:
runs-on: ubuntu-24.04-arm