Skip to content
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

fix: trigger doc build all condition #2242

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
11 changes: 8 additions & 3 deletions .ci/pipeline/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
trigger:
branches:
include:
- main
- rls/*
- "*"
paths:
include:
- requirements-doc.txt
Expand Down Expand Up @@ -65,16 +64,22 @@ jobs:
displayName: 'Install requirements'
- script: |
export PREFIX=$(dirname $(dirname $(which python)))
export DALROOT=$PREFIX
export e=$PREFIX
./conda-recipe/build.sh
echo "Python executable being used1: $(which python)"
displayName: 'Build daal4py/sklearnex'
- script: |
echo "Current directory3: $(pwd)"
ls -l daal4py/
ls -l build/
export LD_LIBRARY_PATH=$(dirname $(dirname $(which python)))/lib:$LD_LIBRARY_PATH
cd doc/daal4py
python -c "import sys; print('Current sys.path1:', sys.path)"
make html
displayName: 'Build daal4py documentation'
- script: |
cd doc
python -c "import sys; print('Current sys.path2:', sys.path)"
make html
displayName: 'Build scikit-learn-intelex documentation'
- script: |
Expand Down
1 change: 0 additions & 1 deletion doc/daal4py/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

sys.path.insert(0, os.path.abspath("../.."))


# -- Project information -----------------------------------------------------

project = "daal4py"
Expand Down
1 change: 0 additions & 1 deletion doc/sources/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

sys.path.insert(0, os.path.abspath("../"))


# -- Project information -----------------------------------------------------

project = "Intel(R) Extension for Scikit-learn*"
Expand Down
Loading