Skip to content

Repair building docs #1044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/build-sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: dpnp
python-version: 3.7
python-version: 3.8
channels: intel,conda-forge
auto-activate-base: false
- name: Conda info
shell: bash -l {0}
Expand All @@ -55,22 +56,26 @@ jobs:
- name: Install sphinx dependencies
shell: bash -l {0}
run: |
conda install numpy cython sphinx sphinx_rtd_theme wheel
conda install sphinx sphinx_rtd_theme
- name: Install dpnp dependencies
shell: bash -l {0}
run: |
conda install dpctl mkl-devel-dpcpp tbb-devel dpcpp_linux-64 cmake=3.19 cython pytest \
-c dppy/label/dev -c intel -c conda-forge
- name: Install cuPy dependencies
shell: bash -l {0}
run: |
conda install -c conda-forge cupy cudatoolkit=10.0
- name: Build library
shell: bash -l {0}
run: |
. /opt/intel/oneapi/setvars.sh
. ./scripts/install_cmake_lin.sh
./0.build.sh
python setup.py build_clib
CC=dpcpp python setup.py build_ext --inplace
python setup.py develop
- name: Build docs
shell: bash -l {0}
run: |
. /opt/intel/oneapi/setvars.sh
./0.builddoc.sh
make html
working-directory: doc
# https://github.com/marketplace/actions/doxygen-action
- name: Build backend docs
Expand Down