diff --git a/.ci/azure/run_tutorials.sh b/.ci/azure/run_tutorials.sh index 5059011db..1518bc39f 100755 --- a/.ci/azure/run_tutorials.sh +++ b/.ci/azure/run_tutorials.sh @@ -15,4 +15,4 @@ mkdir -p docs/_static/notebooks cp docs/notebooks/notebook_setup.py docs/_static/notebooks env/bin/python .ci/azure/run_tutorials.py -ls ~/.theano +ls theano diff --git a/.ci/build-docs.yml b/.ci/build-docs.yml index f40a4d78c..77b2f2069 100644 --- a/.ci/build-docs.yml +++ b/.ci/build-docs.yml @@ -31,7 +31,7 @@ jobs: timeoutInMinutes: 10 inputs: key: theanoCompileDir | $(Agent.OS) - path: $(Agent.HomeDirectory)/.theano + path: $(Build.SourcesDirectory)/theano displayName: 'Cache Theano compiledir' - bash: .ci/azure/setup_conda.sh @@ -44,6 +44,8 @@ jobs: - bash: .ci/azure/run_tutorials.sh displayName: 'Generate the tutorials' + env: + THEANO_FLAGS: base_compiledir=$(Build.SourcesDirectory)/theano - bash: .ci/azure/build_docs.sh displayName: 'Build the docs'