File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,36 @@ jobs:
6161 python setup.py bdist_wheel
6262 FOR /F %%a in ('dir /s/b dist\*.whl') do SET WHEELNAME=%%a
6363 ECHO %WHEELNAME%
64+ echo "##vso[task.setvariable variable=WHEELNAME]$(WHEELNAME)"
6465 pip install %WHEELNAME%
6566 cd tests
6667 python -c "from ansys.dpf import core; print(core.Report(gpu=False))"
6768 displayName: Install ansys-dpf-core
68-
69+
70+ - task : PublishBuildArtifacts@1
71+ displayName : ' WHEEL: publish artifacts'
72+ inputs :
73+ PathtoPublish : $(WHEELNAME)
74+ ArtifactName : $(WHEELNAME)
75+ enabled : true
76+
77+ - script : |
78+ pip install -r requirements_docs.txt
79+ cd .ci
80+ START build_doc.bat
81+
82+ displayName: Build Documentation
83+
84+ - script : ' 7z.exe a doc_ansys-dpf-core.zip .\docs\build'
85+ displayName : ' DOCUMENTATION: zip artifacts'
86+
87+ - task : PublishBuildArtifacts@1
88+ displayName : ' DOCUMENTATION: publish artifacts'
89+ inputs :
90+ PathtoPublish : ' doc_ansys-dpf-core.zip'
91+ ArtifactName : doc_ansys-dpf-core.zip
92+ enabled : true
93+
6994 - task : UniversalPackages@0
7095 inputs :
7196 command : ' download'
@@ -100,6 +125,7 @@ jobs:
100125 testRunTitle : ' windowsTests'
101126 publishRunAttachments : true
102127 condition : always()
128+
103129
104130 - script : |
105131 type $(System.DefaultWorkingDirectory)\server\v212\aisol\bin\winx64\log.txt
Original file line number Diff line number Diff line change 2020 run : |
2121 pip install -r requirements_style.txt --disable-pip-version-check
2222 make
23+ - continueOnError : true
You can’t perform that action at this time.
0 commit comments