fix(GaussianNoiseDataset): explicitly operate on local_array #149
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: build-sphinx-to-gh-pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_sphinx_job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install apt dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libopenmpi-dev openmpi-bin | |
- uses: actions/checkout@v4 | |
- name: Install pip requirements | |
run: | | |
pip install -e . | |
pip install -e .[docs] | |
- name: Sphinx build | |
run: | | |
git checkout -b gh-pages | |
mkdir docs | |
sphinx-build -b html doc/ docs | |
touch docs/.nojekyll | |
- name: Commit site | |
run: | | |
git config --global user.name 'Rick Nitsche (automated)' | |
git config --global user.email '[email protected]' | |
git add . | |
git commit -am "Automated sphinx build" | |
git push --force origin gh-pages |