mirror of
https://github.com/holub/mame
synced 2025-04-17 22:13:04 +03:00

* Restricted Linux CI build to only run on changes to code, translations, software lists, and build scripts. * Restricted Windows/macOS CO to only run on changes to code and build scripts. They provide nothing over Linux for the other stuff. * Added plugin properties and controller file validation to the "hash" workflow. * Added a workflow for building documentation, so pull requests that affect documentation will at least get a basic check in advance. -plugins/autofire: Bumped version as configuration format has changed.
31 lines
770 B
YAML
31 lines
770 B
YAML
name: Build documentation
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'docs/**'
|
|
pull_request:
|
|
paths:
|
|
- '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
|