@@ -167,6 +167,59 @@ jobs:
167167 artifact : ' package_$(Agent.JobName)_$(Agent.OS)'
168168 displayName : bdist_wheel_local_win_package
169169
170+ - job : build_conda_dpnp_dpctl_win
171+ displayName : build_conda_dpnp_dpctl_win
172+ timeoutInMinutes : 120
173+ pool :
174+ vmImage : ' windows-2019' # 'vs2017-win2016'
175+ strategy :
176+ matrix :
177+ Python37 :
178+ python.version : ' 3.7'
179+ steps :
180+ - task : UsePythonVersion@0
181+ inputs :
182+ versionSpec : ' $(python.version)'
183+ addToPath : true
184+ displayName : ' Use Python $(python.version)'
185+
186+ - script : set PYTHONUNBUFFERED=1
187+ displayName : make output unbuffered
188+
189+ - script : |
190+ call scripts\install_system_deps_win.bat
191+ displayName: Install Intel ONE API
192+ timeoutInMinutes: 60
193+
194+ - powershell : Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
195+ displayName : Add conda to PATH
196+
197+ - script : |
198+ conda create -y -n env python=%PYTHON_VERSION% conda-build=3.18
199+ displayName: conda create with Python $(python.version)
200+
201+ - script : |
202+ call activate env
203+ call scripts\build_deps_dpctl_win.bat
204+ displayName: Build DPCtl
205+
206+ - script : |
207+ call activate env
208+ call scripts\install_cmake_win.bat
209+ echo ========================= Intel OneAPI setvars ===============================
210+ set "ONEAPI_ROOT=C:\Program Files (x86)\Intel\oneAPI\"
211+ call "%ONEAPI_ROOT%\compiler\latest\env\vars.bat"
212+ call "%ONEAPI_ROOT%\dpl\latest\env\vars.bat"
213+ call "%ONEAPI_ROOT%\tbb\latest\env\vars.bat"
214+ echo =================== conda build DPNP ===========================
215+ call conda build conda-recipe -c intel
216+ mkdir dist
217+ echo ========== it doesn't work yet =========================
218+ displayName: build_conda
219+ - publish : dist
220+ artifact : ' build_conda_dpnp_dpctl_$(Agent.JobName)_$(Agent.OS)'
221+ displayName : build_conda_dpnp_dpctl_win_package
222+
170223# test python ./setup.py bdist_wheel command with dpctl
171224- job : wheel_dpnp_dpctl_lin
172225 displayName : bdist_wheel_dpnp_dpctl_lin
0 commit comments