diff --git a/.github/workflows/release_linux_aarch64.yml b/.github/workflows/release_linux_aarch64.yml index a4edefa8073..7a6e98e7eff 100644 --- a/.github/workflows/release_linux_aarch64.yml +++ b/.github/workflows/release_linux_aarch64.yml @@ -124,14 +124,13 @@ jobs: pytest && \ deactivate' - - name: Verify ONNX with ort-nightly - if: matrix.python-version != 'cp310-cp310' # TODO update once ort-nightly has supported Python 3.10 + - name: Verify ONNX with ONNX Runtime PyPI package + if: matrix.python-version != 'cp310-cp310' # TODO update once onnxruntime has supported Python 3.10 run: | docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \ ${{ env.img }} \ bash -exc '\ source .env/bin/activate && \ - python -m pip install -q flatbuffers && \ - python -m pip install -i https://test.pypi.org/simple/ ort-nightly && \ + python -m pip install -q onnxruntime && \ python onnx/test/test_with_ort.py && \ deactivate' diff --git a/.github/workflows/release_linux_x86_64.yml b/.github/workflows/release_linux_x86_64.yml index bb6ee4fb679..fe67418cccf 100644 --- a/.github/workflows/release_linux_x86_64.yml +++ b/.github/workflows/release_linux_x86_64.yml @@ -94,9 +94,8 @@ jobs: python -m pip install dist/*manylinux2014_x86_64.whl pytest - - name: Verify ONNX with ort-nightly - if: matrix.python-version != '3.10' # TODO update once ort-nightly has supported Python 3.10 + - name: Verify ONNX with ONNX Runtime PyPI package + if: matrix.python-version != '3.10' # TODO update once onnxruntime has supported Python 3.10 run: | - python -m pip install -q flatbuffers - python -m pip install -q -i https://test.pypi.org/simple/ ort-nightly + python -m pip install -q onnxruntime python onnx/test/test_with_ort.py diff --git a/.github/workflows/release_mac.yml b/.github/workflows/release_mac.yml index 54be139e3a9..4b9fcbc7ada 100644 --- a/.github/workflows/release_mac.yml +++ b/.github/workflows/release_mac.yml @@ -105,11 +105,10 @@ jobs: for file in dist/*.whl; do python -m pip install --upgrade $file; done pytest - - name: Verify ONNX with ort-nightly - if: matrix.python-version != '3.10' # TODO update once ort-nightly has supported Python 3.10 + - name: Verify ONNX with ONNX Runtime PyPI package + if: matrix.python-version != '3.10' # TODO update once onnxruntime has supported Python 3.10 run: | - python -m pip install -q flatbuffers - python -m pip install -q -i https://test.pypi.org/simple/ ort-nightly + python -m pip install -q onnxruntime python onnx/test/test_with_ort.py - name: Build and upload source distribution to TestPyPI weekly diff --git a/.github/workflows/release_win.yml b/.github/workflows/release_win.yml index e8873cf74c4..c900456b5fd 100644 --- a/.github/workflows/release_win.yml +++ b/.github/workflows/release_win.yml @@ -117,9 +117,8 @@ jobs: Get-ChildItem -Path dist/*.whl | foreach {python -m pip install --upgrade $_.fullname} pytest - - name: Verify ONNX with ort-nightly - if: matrix.python-version != '3.10' && matrix.architecture != 'x86' # TODO update once ort-nightly has supported Python 3.10 + - name: Verify ONNX with ONNX Runtime PyPI package + if: matrix.python-version != '3.10' && matrix.architecture != 'x86' # TODO update once onnxruntime has supported Python 3.10 run: | - python -m pip install -q flatbuffers - python -m pip install -q -i https://test.pypi.org/simple/ ort-nightly + python -m pip install -q onnxruntime python onnx\onnx\test\test_with_ort.py diff --git a/docs/CIPipelines.md b/docs/CIPipelines.md index 3725d09a4d7..8661d7ea438 100644 --- a/docs/CIPipelines.md +++ b/docs/CIPipelines.md @@ -10,10 +10,10 @@ [Windows-CI](/.azure-pipelines/Windows-CI.yml) | Every PR  | | | [Mac-CI](/.azure-pipelines/MacOS-CI.yml) | Every PR  | | | [Windows_No_Exception CI](/.github/workflows/win_no_exception_ci.yml) | Every PR  | | | - [WindowsRelease](/.github/workflows/release_win.yml) | | | | - [LinuxRelease_aarch64](/.github/workflows/release_linux_aarch64.yml) |   | | | - [LinuxRelease_x86_64](/.github/workflows/release_linux_x86_64.yml) | | | | - [MacRelease](/.github/workflows/release_win.yml) | | | + [WindowsRelease](/.github/workflows/release_win.yml) | | | | + [LinuxRelease_aarch64](/.github/workflows/release_linux_aarch64.yml) |   | | | + [LinuxRelease_x86_64](/.github/workflows/release_linux_x86_64.yml) | | | | + [MacRelease](/.github/workflows/release_win.yml) | | | [Weekly CI with latest onnx.checker](/.github/workflows/weekly_mac_ci.yml) | weekly(6) || | * (1) When the release CIs will run: @@ -22,7 +22,7 @@ * Any PR targeting rel-* branch * To manually run them, add a PR label "run release CIs" (only maintainers have permission). * (2) Minimum supported versions are listed [here](/requirements.txt). - * (3) [Test](/onnx/test/test_with_ort.py) ONNX Python wheel with `onnxruntime.InferenceSession` from latest ONNXRuntime. Please note that ort-nightly does not support Windows-x86 thus its verification is skipped. + * (3) [Test](/onnx/test/test_with_ort.py) ONNX Python wheel with `onnxruntime.InferenceSession` from latest ONNXRuntime. Please note that ONNX Runtime does not support Windows-x86 thus its verification is skipped. * (4) TEST_HUB=1 will test [onnx.hub](/onnx/test/hub_test.py) by using this API to download an ONNX model from onnx/models. This test is restricted to only 1 pipeline for saving quota usage. * (5) Although the build environment is macos-10.15, use MACOSX_DEPLOYMENT_TARGET=10.12 and -p [macosx_10_12_x86_64](https://github.com/onnx/onnx/blob/2e048660ffa8243596aaf3338e60c7c0575458f2/.github/workflows/release_mac.yml#L74) to force the wheel to support 10.12+.