Skip to content

Commit

Permalink
improve ci version
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Dupre <[email protected]>
  • Loading branch information
xadupre committed Dec 11, 2023
1 parent 241292a commit 34c0965
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
20 changes: 15 additions & 5 deletions .azure-pipelines/linux-conda-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,23 @@ jobs:
strategy:
matrix:

Python311-1150-RT1163-xgb2-lgbm40:
python.version: '3.11'
ONNX_PATH: 'onnx==1.15.0'
ONNXRT_PATH: 'onnxruntime==1.16.3'
COREML_PATH: NONE
lightgbm.version: '>=4.0'
xgboost.version: '>=2'
numpy.version: ''
scipy.version: ''

Python311-1150-RT1160-xgb175-lgbm40:
python.version: '3.11'
ONNX_PATH: 'onnx==1.15.0'
ONNXRT_PATH: 'onnxruntime==1.16.2'
COREML_PATH: NONE
lightgbm.version: '>=4.0'
xgboost.version: '>=1.7.5'
xgboost.version: '==1.7.5'
numpy.version: ''
scipy.version: ''

Expand All @@ -31,7 +41,7 @@ jobs:
ONNXRT_PATH: 'onnxruntime==1.16.2'
COREML_PATH: NONE
lightgbm.version: '>=4.0'
xgboost.version: '>=1.7.5'
xgboost.version: '==1.7.5'
numpy.version: ''
scipy.version: ''

Expand All @@ -41,7 +51,7 @@ jobs:
ONNXRT_PATH: 'onnxruntime==1.15.1'
COREML_PATH: NONE
lightgbm.version: '<4.0'
xgboost.version: '>=1.7.5'
xgboost.version: '==1.7.5'
numpy.version: ''
scipy.version: ''

Expand All @@ -51,7 +61,7 @@ jobs:
ONNXRT_PATH: 'onnxruntime==1.14.0'
COREML_PATH: NONE
lightgbm.version: '<4.0'
xgboost.version: '>=1.7.5'
xgboost.version: '==1.7.5'
numpy.version: ''
scipy.version: ''

Expand All @@ -61,7 +71,7 @@ jobs:
ONNXRT_PATH: 'onnxruntime==1.15.1'
COREML_PATH: NONE
lightgbm.version: '>=4.0'
xgboost.version: '>=1.7.5'
xgboost.version: '==1.7.5'
numpy.version: ''
scipy.version: '==1.8.0'

Expand Down
7 changes: 7 additions & 0 deletions .azure-pipelines/win32-conda-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,39 @@ jobs:
ONNXRT_PATH: 'onnxruntime==1.16.2'
COREML_PATH: NONE
numpy.version: ''
xgboost.version: '2.0.2'

Python311-1141-RT1162:
python.version: '3.11'
ONNX_PATH: 'onnx==1.14.1'
ONNXRT_PATH: 'onnxruntime==1.16.2'
COREML_PATH: NONE
numpy.version: ''
xgboost.version: '1.7.5'

Python310-1141-RT1151:
python.version: '3.10'
ONNX_PATH: 'onnx==1.14.1'
ONNXRT_PATH: 'onnxruntime==1.15.1'
COREML_PATH: NONE
numpy.version: ''
xgboost.version: '1.7.5'

Python310-1141-RT1140:
python.version: '3.10'
ONNX_PATH: 'onnx==1.14.1'
ONNXRT_PATH: onnxruntime==1.14.0
COREML_PATH: NONE
numpy.version: ''
xgboost.version: '1.7.5'

Python39-1141-RT1140:
python.version: '3.9'
ONNX_PATH: 'onnx==1.14.1'
ONNXRT_PATH: onnxruntime==1.14.0
COREML_PATH: NONE
numpy.version: ''
xgboost.version: '1.7.5'

maxParallel: 3

Expand All @@ -74,6 +79,8 @@ jobs:
- script: |
call activate py$(python.version)
python -m pip install --upgrade scikit-learn
python -m pip install --upgrade lightgbm
python -m pip install "xgboost=$(xgboost.version)"
displayName: 'Install scikit-learn'
- script: |
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOGS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## 1.12.0

* Fix discrepancies with XGBRegressor and xgboost > 2
[#670](https://github.com/onnx/onnxmltools/pull/670)
* Support count:poisson for XGBRegressor
[#666](https://github.com/onnx/onnxmltools/pull/666)
* Supports XGBRFClassifier and XGBRFRegressor
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ ruff
scikit-learn>=1.2.0
scipy
wheel
xgboost==1.7.5
xgboost
onnxruntime

0 comments on commit 34c0965

Please sign in to comment.