Skip to content

Commit 3faed19

Browse files
authored
add environment to build documentation (#359)
1 parent b1704cd commit 3faed19

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build-sphinx.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ jobs:
4141
python-version: 3.x
4242
- name: Install dependencies
4343
run: pip install numpy cython sphinx sphinx_rtd_theme
44-
- name: set Intel OneAPI environment
45-
run: . /opt/intel/oneapi/setvars.sh
46-
- name: Build library
47-
run: ./0.build.sh
4844
- name: Build docs
49-
run: ./0.builddoc.sh
45+
run: |
46+
. /opt/intel/oneapi/setvars.sh
47+
./0.build.sh
48+
./0.builddoc.sh
5049
working-directory: doc
5150
# https://github.com/marketplace/actions/doxygen-action
5251
- name: Build backend docs

0 commit comments

Comments
 (0)