Skip to content

Generically implement atan2 for all dual numbers (#85) #160

Generically implement atan2 for all dual numbers (#85)

Generically implement atan2 for all dual numbers (#85) #160

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install python dependencies
run: |
pip install sphinx sphinx-rtd-theme
- name: Build Wheels
uses: messense/maturin-action@v1
with:
manylinux: auto
command: build
args: --release --out dist
- name: Install module
run: |
pip install num_dual --no-index --find-links dist --force-reinstall
- name: Build documentation
run: sphinx-build docs/ public/ -b html
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: documentation
path: public
release-documentation:
needs: [build-documentation]
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: documentation
path: public
- name: Deploy documentation to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public