Skip to content

Commit

Permalink
Update nightly-CI.yml (#258)
Browse files Browse the repository at this point in the history
Signed-off-by: xiaowuhu <[email protected]>
  • Loading branch information
xiaowuhu authored May 11, 2023
1 parent d35ea90 commit 8c81a0e
Showing 1 changed file with 11 additions and 21 deletions.
32 changes: 11 additions & 21 deletions .azure-pipelines/nightly-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,9 @@ jobs:

- job: 'Linux'
pool:
vmImage: 'Ubuntu-18.04'
vmImage: 'Ubuntu-latest'
strategy:
matrix:
Python36:
python.version: '3.6'
ONNX_PATH: onnx==1.5.0

Python37:
python.version: '3.7'
ONNX_PATH: onnx==1.6.0

Python381:
python.version: '3.8'
ONNX_PATH: onnx==1.7.0

Python382:
python.version: '3.8'
ONNX_PATH: onnx==1.8.0
Expand All @@ -34,6 +22,10 @@ jobs:
python.version: '3.9'
ONNX_PATH: onnx==1.10.2

Python310:
python.version: '3.10'
ONNX_PATH: onnx==1.14.0

maxParallel: 4

steps:
Expand All @@ -58,6 +50,7 @@ jobs:
pip uninstall -y onnxruntime
pip install --index-url https://test.pypi.org/simple/ ort-nightly
pip install $(ONNX_PATH)
pip install protobuf==3.20.2
pip install pytest
pip install -e .
displayName: 'Install dependencies'
Expand All @@ -83,14 +76,6 @@ jobs:
vmImage: 'windows-latest'
strategy:
matrix:
Python37:
python.version: '3.7'
ONNX_PATH: onnx==1.6.0

Python381:
python.version: '3.8'
ONNX_PATH: onnx==1.7.0

Python382:
python.version: '3.8'
ONNX_PATH: onnx==1.8.0
Expand All @@ -103,6 +88,10 @@ jobs:
python.version: '3.9'
ONNX_PATH: onnx==1.10.2

Python310:
python.version: '3.10'
ONNX_PATH: onnx==1.14.0

maxParallel: 4

steps:
Expand All @@ -128,6 +117,7 @@ jobs:
pip uninstall -y onnxruntime
pip install --index-url https://test.pypi.org/simple/ ort-nightly
pip install %ONNX_PATH%
pip install protobuf==3.20.2
pip install pytest
pip install -e .
displayName: 'Install dependencies'
Expand Down

0 comments on commit 8c81a0e

Please sign in to comment.