Skip to content

Update CI - replace conda on pip download #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 16 additions & 15 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
variables:
- name: python.version
value: '3.8'

jobs:
- job: Linux_Sklearn
pool:
vmImage: 'ubuntu-20.04'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
inputs:
versionSpec: '$(python.version)'
- 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 scikit-learn-intelex
displayName: Create Anaconda environment
- script: |
. /usr/share/miniconda/etc/profile.d/conda.sh
conda activate bench
pip install -r sklearn_bench/requirements.txt
python runner.py --configs configs/testing/sklearn.json
displayName: Run bench
- job: Linux_XGBoost
pool:
vmImage: 'ubuntu-20.04'
steps:
- task: UsePythonVersion@0
displayName: 'Use Python $(python.version)'
inputs:
versionSpec: '$(python.version)'
- 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
pip install -r xgboost_bench/requirements.txt
python runner.py --configs configs/testing/xgboost.json --no-intel-optimized
displayName: Run bench
- job: Linux_daal4py
Expand Down Expand Up @@ -58,7 +59,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
versionSpec: '$(python.version)'
addToPath: true
- script: |
python -m pip install --upgrade pip setuptools
Expand All @@ -71,7 +72,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
versionSpec: '$(python.version)'
addToPath: true
- script: |
python -m pip install --upgrade pip setuptools
Expand Down