Skip to content

Commit c7e0b6d

Browse files
authored
Repair building docs (#1044)
1 parent 457a598 commit c7e0b6d

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/build-sphinx.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
uses: conda-incubator/setup-miniconda@v2
4646
with:
4747
activate-environment: dpnp
48-
python-version: 3.7
48+
python-version: 3.8
49+
channels: intel,conda-forge
4950
auto-activate-base: false
5051
- name: Conda info
5152
shell: bash -l {0}
@@ -55,22 +56,26 @@ jobs:
5556
- name: Install sphinx dependencies
5657
shell: bash -l {0}
5758
run: |
58-
conda install numpy cython sphinx sphinx_rtd_theme wheel
59+
conda install sphinx sphinx_rtd_theme
60+
- name: Install dpnp dependencies
61+
shell: bash -l {0}
62+
run: |
63+
conda install dpctl mkl-devel-dpcpp tbb-devel dpcpp_linux-64 cmake=3.19 cython pytest \
64+
-c dppy/label/dev -c intel -c conda-forge
5965
- name: Install cuPy dependencies
6066
shell: bash -l {0}
6167
run: |
6268
conda install -c conda-forge cupy cudatoolkit=10.0
6369
- name: Build library
6470
shell: bash -l {0}
6571
run: |
66-
. /opt/intel/oneapi/setvars.sh
67-
. ./scripts/install_cmake_lin.sh
68-
./0.build.sh
72+
python setup.py build_clib
73+
CC=dpcpp python setup.py build_ext --inplace
74+
python setup.py develop
6975
- name: Build docs
7076
shell: bash -l {0}
7177
run: |
72-
. /opt/intel/oneapi/setvars.sh
73-
./0.builddoc.sh
78+
make html
7479
working-directory: doc
7580
# https://github.com/marketplace/actions/doxygen-action
7681
- name: Build backend docs

0 commit comments

Comments
 (0)