[geom] point-cloud-utils integration #543
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: Update Documentation | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v2.3.1 | |
| - name: Setup ffmpeg | |
| uses: FedericoCarboni/setup-ffmpeg@v1 | |
| id: setup-ffmpeg | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.12' | |
| - name: Free disk space | |
| run: | | |
| sudo rm -rf /usr/share/dotnet | |
| sudo rm -rf /usr/local/lib/android | |
| sudo rm -rf /opt/ghc | |
| sudo rm -rf /opt/hostedtoolcache/CodeQL | |
| df -h | |
| - name: Install dependencies 🔧 | |
| run: | | |
| python --version | |
| python -m pip install --upgrade pip | |
| pip install --no-cache-dir --quiet pdoc3 tensorflow torch jax jaxlib plotly "nbformat==5.4.0" ipython notebook ipywidgets tqdm | |
| pip install git+https://github.com/tum-pbs/PhiML@develop | |
| pip install . | |
| pip list | |
| - name: Build API with pdoc3 | |
| run: pdoc --html --output-dir docs --force phi | |
| - name: Build static HTML for Jupyter Notebooks | |
| run: | | |
| jupyter nbconvert --to html --output-dir docs/examples/grids/ examples/grids/*.ipynb | |
| jupyter nbconvert --to html --output-dir docs/examples/mesh/ examples/mesh/*.ipynb | |
| jupyter nbconvert --to html --output-dir docs/examples/optim/ examples/optim/*.ipynb | |
| jupyter nbconvert --to html --output-dir docs/examples/particles/ examples/particles/*.ipynb | |
| jupyter nbconvert --to html --output-dir docs/ docs/prerendered/*.ipynb | |
| jupyter nbconvert --to html --execute --allow-errors docs/*.ipynb | |
| - name: Deploy 🚀 | |
| uses: JamesIves/github-pages-deploy-action@4.1.4 # See https://github.com/marketplace/actions/deploy-to-github-pages | |
| with: | |
| branch: gh-pages # The branch the action should deploy to. | |
| folder: docs # The folder the action should deploy. |