Skip to content

Commit de3ba00

Browse files
authored
Temporarily disable non workable sessions (#731)
1 parent 579567f commit de3ba00

File tree

1 file changed

+118
-118
lines changed

1 file changed

+118
-118
lines changed

scripts/azure-pipelines.yml

Lines changed: 118 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -166,97 +166,97 @@ jobs:
166166
artifact: 'package_$(Agent.JobName)_$(Agent.OS)'
167167
displayName: bdist_wheel_dpnp_local_lin_package
168168

169-
- job: bdist_wheel_dpnp_local_win
170-
displayName: bdist_wheel_dpnp_local_win
171-
timeoutInMinutes: 120
172-
pool:
173-
vmImage: 'windows-2019' # 'vs2017-win2016'
174-
steps:
175-
- script: set PYTHONUNBUFFERED=1
176-
displayName: make output unbuffered
177-
178-
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
179-
displayName: Add conda to PATH
180-
181-
- script: |
182-
call scripts\install_system_deps_win.bat
183-
displayName: Install Intel ONE API
184-
timeoutInMinutes: 60
185-
186-
- script: |
187-
call activate
188-
conda install -y conda-build numpy=1.20.1 cython pytest hypothesis
189-
displayName: Install extra conda packages
190-
191-
- script: |
192-
call activate
193-
call scripts\install_cmake_win.bat
194-
echo ========================= Intel OneAPI setvars ===============================
195-
set "ONEAPI_ROOT=C:\Program Files (x86)\Intel\oneAPI\"
196-
call "%ONEAPI_ROOT%\compiler\latest\env\vars.bat"
197-
call "%ONEAPI_ROOT%\dpl\latest\env\vars.bat"
198-
call "%ONEAPI_ROOT%\tbb\latest\env\vars.bat"
199-
echo =================== build DPNP wheel package ===========================
200-
python setup.py bdist_wheel
201-
displayName: build_bdist_wheel
202-
- publish: dist
203-
artifact: 'package_$(Agent.JobName)_$(Agent.OS)'
204-
displayName: bdist_wheel_local_win_package
205-
206-
- job: build_conda_dpnp_dpctl_win
207-
displayName: build_conda_dpnp_dpctl_win
208-
timeoutInMinutes: 120
209-
pool:
210-
vmImage: 'windows-2019' # 'vs2017-win2016'
211-
strategy:
212-
matrix:
213-
Python37:
214-
python.version: '3.7'
215-
steps:
216-
- task: UsePythonVersion@0
217-
inputs:
218-
versionSpec: '$(python.version)'
219-
addToPath: true
220-
displayName: 'Use Python $(python.version)'
221-
222-
- script: set PYTHONUNBUFFERED=1
223-
displayName: make output unbuffered
224-
225-
- script: |
226-
call scripts\install_system_deps_win.bat
227-
displayName: Install Intel ONE API
228-
timeoutInMinutes: 60
229-
230-
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
231-
displayName: Add conda to PATH
232-
233-
- script: |
234-
conda create -y -n env python=%PYTHON_VERSION% conda-build=3.18
235-
displayName: conda create with Python $(python.version)
236-
237-
- script: |
238-
call activate env
239-
call scripts\build_deps_dpctl_win.bat
240-
displayName: Build DPCtl
241-
242-
- script: |
243-
call activate env
244-
call scripts\install_cmake_win.bat
245-
echo ========================= Intel OneAPI setvars ===============================
246-
set "ONEAPI_ROOT=C:\Program Files (x86)\Intel\oneAPI\"
247-
call "%ONEAPI_ROOT%\compiler\latest\env\vars.bat"
248-
call "%ONEAPI_ROOT%\dpl\latest\env\vars.bat"
249-
call "%ONEAPI_ROOT%\tbb\latest\env\vars.bat"
250-
echo =================== conda build DPNP ===========================
251-
call conda list
252-
call python --version
253-
call conda build conda-recipe -c local -c intel
254-
mkdir dist
255-
echo ========== it doesn't work yet =========================
256-
displayName: build_conda
257-
- publish: dist
258-
artifact: 'build_conda_dpnp_dpctl_$(Agent.JobName)_$(Agent.OS)'
259-
displayName: build_conda_dpnp_dpctl_win_package
169+
#- job: bdist_wheel_dpnp_local_win
170+
# displayName: bdist_wheel_dpnp_local_win
171+
# timeoutInMinutes: 120
172+
# pool:
173+
# vmImage: 'windows-2019' # 'vs2017-win2016'
174+
# steps:
175+
# - script: set PYTHONUNBUFFERED=1
176+
# displayName: make output unbuffered
177+
#
178+
# - powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
179+
# displayName: Add conda to PATH
180+
#
181+
# - script: |
182+
# call scripts\install_system_deps_win.bat
183+
# displayName: Install Intel ONE API
184+
# timeoutInMinutes: 60
185+
#
186+
# - script: |
187+
# call activate
188+
# conda install -y conda-build numpy=1.20.1 cython pytest hypothesis
189+
# displayName: Install extra conda packages
190+
#
191+
# - script: |
192+
# call activate
193+
# call scripts\install_cmake_win.bat
194+
# echo ========================= Intel OneAPI setvars ===============================
195+
# set "ONEAPI_ROOT=C:\Program Files (x86)\Intel\oneAPI\"
196+
# call "%ONEAPI_ROOT%\compiler\latest\env\vars.bat"
197+
# call "%ONEAPI_ROOT%\dpl\latest\env\vars.bat"
198+
# call "%ONEAPI_ROOT%\tbb\latest\env\vars.bat"
199+
# echo =================== build DPNP wheel package ===========================
200+
# python setup.py bdist_wheel
201+
# displayName: build_bdist_wheel
202+
# - publish: dist
203+
# artifact: 'package_$(Agent.JobName)_$(Agent.OS)'
204+
# displayName: bdist_wheel_local_win_package
205+
206+
#- job: build_conda_dpnp_dpctl_win
207+
# displayName: build_conda_dpnp_dpctl_win
208+
# timeoutInMinutes: 120
209+
# pool:
210+
# vmImage: 'windows-2019' # 'vs2017-win2016'
211+
# strategy:
212+
# matrix:
213+
# Python37:
214+
# python.version: '3.7'
215+
# steps:
216+
# - task: UsePythonVersion@0
217+
# inputs:
218+
# versionSpec: '$(python.version)'
219+
# addToPath: true
220+
# displayName: 'Use Python $(python.version)'
221+
#
222+
# - script: set PYTHONUNBUFFERED=1
223+
# displayName: make output unbuffered
224+
#
225+
# - script: |
226+
# call scripts\install_system_deps_win.bat
227+
# displayName: Install Intel ONE API
228+
# timeoutInMinutes: 60
229+
#
230+
# - powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
231+
# displayName: Add conda to PATH
232+
#
233+
# - script: |
234+
# conda create -y -n env python=%PYTHON_VERSION% conda-build=3.18
235+
# displayName: conda create with Python $(python.version)
236+
#
237+
# - script: |
238+
# call activate env
239+
# call scripts\build_deps_dpctl_win.bat
240+
# displayName: Build DPCtl
241+
#
242+
# - script: |
243+
# call activate env
244+
# call scripts\install_cmake_win.bat
245+
# echo ========================= Intel OneAPI setvars ===============================
246+
# set "ONEAPI_ROOT=C:\Program Files (x86)\Intel\oneAPI\"
247+
# call "%ONEAPI_ROOT%\compiler\latest\env\vars.bat"
248+
# call "%ONEAPI_ROOT%\dpl\latest\env\vars.bat"
249+
# call "%ONEAPI_ROOT%\tbb\latest\env\vars.bat"
250+
# echo =================== conda build DPNP ===========================
251+
# call conda list
252+
# call python --version
253+
# call conda build conda-recipe -c local -c intel
254+
# mkdir dist
255+
# echo ========== it doesn't work yet =========================
256+
# displayName: build_conda
257+
# - publish: dist
258+
# artifact: 'build_conda_dpnp_dpctl_$(Agent.JobName)_$(Agent.OS)'
259+
# displayName: build_conda_dpnp_dpctl_win_package
260260

261261
# test python ./setup.py bdist_wheel command with dpctl
262262
- job: wheel_dpnp_dpctl_lin
@@ -286,33 +286,33 @@ jobs:
286286
artifact: 'package_dpnp_dpctl_$(Agent.JobName)_$(Agent.OS)'
287287
displayName: bdist_wheel_dpnp_dpctl_lin_package
288288

289-
- job: conda_build_dpnp_dpctl_lin
290-
displayName: conda_dpnp_dpctl_lin
291-
pool:
292-
vmImage: 'ubuntu-20.04'
293-
steps:
294-
- bash: |
295-
echo ========================= Conda ENV =================================
296-
conda create -q -y -n dpnp
297-
. /usr/share/miniconda/etc/profile.d/conda.sh
298-
conda activate dpnp
299-
300-
echo ========================= CI ENV ====================================
301-
./scripts/install_system_deps.sh
302-
. ./scripts/install_cmake_lin.sh
303-
./scripts/install_system_deps_intelpython.sh
304-
305-
. /opt/intel/oneapi/setvars.sh
306-
307-
./scripts/install_python_deps.sh
308-
# ./scripts/build_deps_dpctl.sh
309-
310-
conda list
311-
echo ========================= make DPNP package =========================
312-
conda-build conda-recipe/
313-
- publish: /opt/intel/oneapi/intelpython/latest/conda-bld
314-
artifact: 'package_$(Agent.JobName)_$(Agent.OS)'
315-
displayName: conda_build_dpnp_dpctl_lin_package
289+
#- job: conda_build_dpnp_dpctl_lin
290+
# displayName: conda_dpnp_dpctl_lin
291+
# pool:
292+
# vmImage: 'ubuntu-20.04'
293+
# steps:
294+
# - bash: |
295+
# echo ========================= Conda ENV =================================
296+
# conda create -q -y -n dpnp
297+
# . /usr/share/miniconda/etc/profile.d/conda.sh
298+
# conda activate dpnp
299+
#
300+
# echo ========================= CI ENV ====================================
301+
# ./scripts/install_system_deps.sh
302+
# . ./scripts/install_cmake_lin.sh
303+
# ./scripts/install_system_deps_intelpython.sh
304+
#
305+
# . /opt/intel/oneapi/setvars.sh
306+
#
307+
# ./scripts/install_python_deps.sh
308+
# # ./scripts/build_deps_dpctl.sh
309+
#
310+
# conda list
311+
# echo ========================= make DPNP package =========================
312+
# conda-build conda-recipe/
313+
# - publish: /opt/intel/oneapi/intelpython/latest/conda-bld
314+
# artifact: 'package_$(Agent.JobName)_$(Agent.OS)'
315+
# displayName: conda_build_dpnp_dpctl_lin_package
316316

317317
- job: make_backend_lin
318318
displayName: cmake_3_16_3_lin

0 commit comments

Comments
 (0)