diff --git a/.azure-pipelines/linux-conda-CI.yml b/.azure-pipelines/linux-conda-CI.yml index 734c18d41..7e7a96b80 100644 --- a/.azure-pipelines/linux-conda-CI.yml +++ b/.azure-pipelines/linux-conda-CI.yml @@ -139,6 +139,7 @@ jobs: lgbm.version: '' onnxcc.version: '>=1.8.1' run.example: '0' + Py310-Onnx120-Rt1201-Skl11: do.bench: '0' python.version: '3.10' @@ -152,6 +153,7 @@ jobs: lgbm.version: '' onnxcc.version: '>=1.8.1' run.example: '0' + Py39-Onnx120-Rt1111-Skl11: do.bench: '0' python.version: '3.9' @@ -221,15 +223,12 @@ jobs: maxParallel: 3 steps: - - script: | - sudo install -d -m 0777 /home/vsts/.conda/envs - displayName: Fix Conda permissions - - - task: CondaEnvironment@1 + - task: UsePythonVersion@0 inputs: - createCustomEnvironment: true - environmentName: 'py$(python.version)' - packageSpecs: 'python=$(python.version)' + versionSpec: '$(python.version)' + addToPath: true + architecture: 'x64' + displayName: 'Use Python $(python.version)' - script: | sudo apt-get install -y language-pack-en @@ -238,24 +237,19 @@ jobs: displayName: 'Install packages' - script: | - test '$(python.version)' == '3.7' && apt-get install protobuf-compiler libprotoc-dev - conda config --set always_yes yes --set changeps1 no - conda install -c conda-forge "numpy$(numpy.version)" - conda install protobuf + pip install "numpy$(numpy.version)" + pip install "scipy$(scipy.version)" + pip install protobuf python -m pip install --upgrade pip displayName: 'Install environment' - - script: | - conda install "numpy$(numpy.version)" "scipy$(scipy.version)" - displayName: 'install numpy, scipy' - - script: | if [ '$(sklearn.version)' == 'git' ] then git clone https://github.com/scikit-learn/scikit-learn.git --recursive python setup.py install else - conda install -c conda-forge "scikit-learn$(sklearn.version)" + pip install "scikit-learn$(sklearn.version)" fi displayName: 'install scikit-learn'