Repository Public License Research preview
1# Compiles every deck at status draft or beyond (slides + handout), renders previews, runs the2# post-build LaTeX checks and the repository tests. TeX Live is pinned through the container image.3name: latex-build4on:5 push:6 pull_request:7jobs:8 decks:9 runs-on: ubuntu-24.0410 container:11 image: texlive/texlive:TL2025-historic12 steps:13 - uses: actions/checkout@v414 - name: System tools15 run: apt-get update && apt-get install -y --no-install-recommends python3-pip python3-venv poppler-utils make git16 - name: Python environment17 run: |18 python3 -m venv /opt/venv19 /opt/venv/bin/pip install -r requirements-dev.txt20 echo "/opt/venv/bin" >> "$GITHUB_PATH"21 - run: git config --global --add safe.directory "$GITHUB_WORKSPACE"22 - run: make setup PYTHON=python23 - run: make slides PYTHON=python24 - run: make handouts PYTHON=python25 - run: make preview PYTHON=python26 - run: python tools/validate_latex.py27 - run: python tools/validate_accessibility.py28 - run: python -m pytest -q tests29 - uses: actions/upload-artifact@v430 if: always()31 with:32 name: decks-and-previews33 path: |34 dist/slides/35 dist/preview/36 reports/37