Port to libogc2 #9
This file contains hidden or 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: Documentation | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| doc: | |
| name: Deploy documentation | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout the Git repository | |
| uses: actions/checkout@v4 | |
| - name: Install doxygen | |
| run: | | |
| wget https://www.doxygen.nl/files/doxygen-1.14.0.linux.bin.tar.gz -O - | tar -xzv --directory=/tmp/ | |
| cd /tmp/doxygen-* | |
| sudo make install | |
| sudo apt-get update | |
| sudo apt-get install doxygen-latex graphviz | |
| - name: Generate documentation | |
| run: | | |
| doxygen grrlib.doxygen >/dev/null | |
| make --directory=latex >/dev/null | |
| touch html/.nojekyll | |
| mv latex/refman.pdf html/PDF-documentation.pdf | |
| - name: Deploy to GitHub Pages | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| branch: gh-pages | |
| folder: html |