Merge pull request #30 from JGoard/jg/clean&comment #60
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: Test Build Docs | |
on: | |
push: | |
paths: | |
- 'docs/**' | |
- 'jocktos/**' | |
branches: | |
- c_based_scheduler | |
pull_request: | |
branches: | |
- c_based_scheduler | |
paths: | |
- 'docs/**' | |
- 'jocktos/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install tools | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
python3-sphinx \ | |
python3-sphinx-rtd-theme \ | |
python3-breathe \ | |
doxygen \ | |
graphviz \ | |
texlive-xetex \ | |
latexmk \ | |
fonts-freefont-otf \ | |
xindy | |
- name: Build html docs | |
run: cd docs && make html | |
- name: Build PDF docs | |
run: cd docs && make latexpdf |