cppcheck/.github/workflows/buildman.yml

59 lines
1.1 KiB
YAML
Raw Normal View History

name: Build manual
on:
push:
branches:
- 'main'
- 'releases/**'
tags:
- '2.*'
pull_request:
permissions:
contents: read
jobs:
convert_via_pandoc:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: |
mkdir output
- uses: docker://pandoc/latex:2.9
with:
2020-09-11 22:19:08 +02:00
args: --output=output/manual.html man/manual.md
2020-09-11 22:19:08 +02:00
- uses: docker://pandoc/latex:2.9
with:
args: --output=output/manual.pdf man/manual.md
- uses: docker://pandoc/latex:2.9
with:
args: --output=output/manual-premium.pdf man/manual-premium.md
- uses: actions/upload-artifact@v3
with:
name: output
path: output
manpage:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install missing software on ubuntu
run: |
sudo apt-get update
sudo apt-get install -y xsltproc docbook-xsl
- name: build manpage
run: |
make man
- uses: actions/upload-artifact@v3
with:
name: cppcheck.1
path: cppcheck.1