File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Test against latest onnxruntime nightly package
2
+
3
+ # TODO: change onnxruntime package name when nightly package is ready
4
+
5
+ jobs :
6
+ - template : ' templates/job_generator.yml'
7
+ parameters :
8
+ tf_versions : ['1.12']
9
+ onnx_opsets : ['9', '8', '7']
10
+ onnx_backends :
11
+ onnxruntime : ['']
12
+ job :
13
+ displayName : ' unit_test'
14
+ steps :
15
+ - template : ' unit_test.yml'
Original file line number Diff line number Diff line change @@ -13,12 +13,18 @@ steps:
13
13
pip install $(CI_PIP_ONNX_NAME) $(CI_PIP_ONNX_BACKEND_NAME) numpy --no-deps -U
14
14
fi
15
15
16
+ # HACK: before onnxruntime nightly package is ready, install onnxruntime from pypi test
17
+ if [[ $CI_ONNXRUNTIME_FROM_PYPI_TEST == "true" ]] ;
18
+ then
19
+ pip install --index-url https://test.pypi.org/simple/ onnxruntime --force-reinstall
20
+ fi
21
+
16
22
python setup.py install
17
23
pip freeze --all
18
24
displayName : ' Setup Environment'
19
25
20
26
# TODO: remove later
21
- # Anaconda python 3.6.8 h9f7ef89_1 changed dll lookup logic, numpy failes to load dll on Windows
27
+ # Anaconda python 3.6.8 h9f7ef89_1 changed dll lookup logic, numpy fails to load dll on Windows
22
28
# https://github.com/numpy/numpy/issues/12957
23
29
# https://github.com/ContinuumIO/anaconda-issues/issues/10629
24
30
# Add numpy lib path manually here
You can’t perform that action at this time.
0 commit comments