mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
669b1f6ade
* Also added a couple of missing command-line options, and added a local table of contents to the (rather long) command line options page. -Added a separate CI target for localisation updates that produces an artefact, and removed the message catalogs from the trigger paths for the Linux CI build.
32 lines
776 B
YAML
32 lines
776 B
YAML
name: Build documentation
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.github/**'
|
|
- 'docs/**'
|
|
pull_request:
|
|
paths:
|
|
- '.github/**'
|
|
- 'docs/**'
|
|
|
|
jobs:
|
|
build-docs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y librsvg2-bin latexmk python3-pip python3-sphinx texlive texlive-formats-extra texlive-science
|
|
pip3 install sphinxcontrib-svg2pdfconverter
|
|
- name: Build HTML
|
|
run: make -C docs html
|
|
- name: Build PDF
|
|
run: make -C docs latexpdf
|
|
- uses: actions/upload-artifact@master
|
|
with:
|
|
name: mame-docs-${{ github.sha }}
|
|
path: |
|
|
docs/build/html
|
|
docs/build/latex/MAME.pdf
|