Fix bug causing increased CPU usage when base::Thread is idle #155
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: Docs | |
| on: | |
| push: | |
| branches: [ master, develop ] | |
| tags: | |
| - '*' | |
| release: | |
| types: | |
| - created | |
| jobs: | |
| docs: | |
| name: Documentation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| submodules: true | |
| - name: Set system to non-interactive mode | |
| run: export DEBIAN_FRONTEND=noninteractive | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get install -y doxygen | |
| pip install -r docs/requirements.txt | |
| - name: Build documentation | |
| run: | | |
| cd docs | |
| sphinx-multiversion . build -D 'exhale_args.containmentFolder=${sourcedir}/build/api' | |
| cp _templates/redirect.html build/index.html | |
| cd .. | |
| - name: Deploy | |
| uses: peaceiris/actions-gh-pages@v3.7.3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs/build | |
| force_orphan: true |