forked from IntelPython/scikit-learn_bench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
executable file
·67 lines (67 loc) · 2.15 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
jobs:
- job: Linux_Sklearn
pool:
vmImage: 'ubuntu-20.04'
steps:
- script: |
conda update -y -q conda
export FORCE_DAAL4PY_SKLEARN=yes
conda create -q -y -n bench -c conda-forge python=3.7 pandas scikit-learn daal4py
displayName: Create Anaconda environment
- script: |
. /usr/share/miniconda/etc/profile.d/conda.sh
conda activate bench
python runner.py --configs configs/testing/sklearn.json
displayName: Run bench
- job: Linux_XGBoost
pool:
vmImage: 'ubuntu-20.04'
steps:
- script: |
conda update -y -q conda
conda create -n bench -q -y -c conda-forge python=3.7 pandas xgboost scikit-learn
displayName: Create Anaconda environment
- script: |
. /usr/share/miniconda/etc/profile.d/conda.sh
conda activate bench
python runner.py --configs configs/testing/xgboost.json --no-intel-optimized
displayName: Run bench
- job: Linux_daal4py
pool:
vmImage: 'ubuntu-20.04'
steps:
- script: |
conda update -y -q conda
conda create -n bench -q -y -c conda-forge python=3.7 pandas scikit-learn daal4py
displayName: Create Anaconda environment
- script: |
. /usr/share/miniconda/etc/profile.d/conda.sh
conda activate bench
python runner.py --configs configs/testing/daal4py.json
displayName: Run bench
- job: Linux_XGBoost_and_daal4py
pool:
vmImage: 'ubuntu-20.04'
steps:
- script: |
conda update -y -q conda
conda create -n bench -q -y -c conda-forge python=3.7 pandas xgboost scikit-learn daal4py
displayName: Create Anaconda environment
- script: |
. /usr/share/miniconda/etc/profile.d/conda.sh
conda activate bench
python runner.py --configs configs/testing/daal4py_xgboost.json
displayName: Run bench
- job: Pep8
pool:
vmImage: 'ubuntu-20.04'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
addToPath: true
- script: |
python -m pip install --upgrade pip setuptools
pip install flake8
flake8 --ignore=E265,E722,E402 --max-line-length=90 --count
displayName: 'PEP 8 check'