Skip to content

Add serialization and deserialization with serde for scalar dual numbers #140

Add serialization and deserialization with serde for scalar dual numbers

Add serialization and deserialization with serde for scalar dual numbers #140

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
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@v2
with:
name: documentation
path: public