Skip to content

Include Hdf5 library in action #67

Include Hdf5 library in action

Include Hdf5 library in action #67

Workflow file for this run

name: Build documentation
on:
push:
tags:
- "*"
jobs:
test:
name: Build docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
cache: 'pip'
- name: Set up HDF5
run: |
sudo apt-get update
sudo apt-get install libhdf5-dev
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install cmake pybind11 numpy tox
- name: Build docs
run: |
python setup.py build_ext --inplace
cp build/lib*/dolomite_base/lib_dolomite* src/dolomite_base/
tox -e docs
touch ./docs/_build/html/.nojekyll
- name: GH Pages Deployment
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: ./docs/_build/html
clean: true # Automatically remove deleted files from the deploy branch