3rdparty.lua: Fix cross-compiling bgfx library to mingw target under … #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build documentation | |
on: | |
push: | |
paths: | |
- '.github/workflows/**' | |
- 'docs/**' | |
pull_request: | |
paths: | |
- '.github/workflows/**' | |
- 'docs/**' | |
permissions: | |
contents: read | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
with: | |
fetch-depth: 0 | |
- 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@main | |
with: | |
name: mame-docs-${{ github.sha }} | |
path: | | |
docs/build/html | |
docs/build/latex/MAME.pdf | |
if-no-files-found: error |