-
Notifications
You must be signed in to change notification settings - Fork 21
41 lines (34 loc) · 915 Bytes
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build docs
on:
pull_request:
workflow_dispatch:
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Setup Graphviz
run: |
sudo apt install graphviz -y
- name: Install libhdf5-dev
run: |
set -xe
sudo apt update -y
sudo apt install -y libhdf5-dev mpi-default-dev
- name: Install versioned-hdf5
run: |
set -xe
pip install .
- name: Install versioned-hdf5 doc
run: |
pip install .[doc]
- name: Build docs
working-directory: docs
run: |
# Need to set timezone to avoid a sphinx/babel issue
# when using act to run locally:
# https://github.com/nektos/act/issues/1853
TZ=UTC make html