Back to Onnx

ONNX CI Pipelines

docs/CIPipelines.md

1.21.06.2 KB
Original Source
<!-- Copyright (c) ONNX Project Contributors SPDX-License-Identifier: Apache-2.0 -->

ONNX CI Pipelines

  • CI pipelines matrix:
When it runsTest
CI / TestEvery PRONNX C++ tests Test doc generation Test proto generation Verify node test generation
Windows_No_Exception CIEvery PROnly ONNX C++ tests Test selective schema loading
Lint / Optional LintEvery PRNot required -- it shows lint warnings for suggestions in PR
Lint / Enforce styleEvery PRRequired linters Auto-generated files are up to date
WindowsReleaseMain branch Release branch Weekly(1)Release Windows wheel Verify with different dependency versions - latest and min supported numpy version, latest and min supported protobuf version(2) Verify ONNX with the latest ONNX Runtime PyPI package(3).
LinuxRelease_aarch64Main branch Release branch WeeklyRelease Linux aarch64 wheel Verify with different dependency versions - latest numpy version, latest and min supported protobuf version Verify ONNX with the latest ONNX Runtime PyPI package
LinuxReleaseMain branch Release branch WeeklyRelease Linux x86_64 wheel Verify with different dependency versions - latest numpy version, latest and min supported protobuf version Verify ONNX with the latest ONNX Runtime PyPI package.
MacReleaseMain branch Release branch WeeklyRelease Mac wheel Verify with different dependency versions - latest numpy version, latest and min supported protobuf version Verify ONNX with the latest ONNX Runtime PyPI package. Test source distribution generation Test build with source distribution Release onnx-weekly source distribution
ReuseEvery PRChecks for Copyright and License header More information could be found at: https://reuse.software/ If no license is to be added, or the checker does not recognize it, it must be configured under REUSE.toml.
DependabotMain branch weeklyCreate PRs for new dependency versions

Every PR

  • (1) When the release CIs will run:
    • After a PR has been merged into main/rel-* branch
    • Run weekly (Sunday midnight) and publish Python wheel to onnx-weekly package on PyPI [2024.10.23: The current consideration is to delete the packages on pypi only due to running out of disk space. Starting with the oldest packages.]
    • 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.
  • (3) Test 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) Although the build environment is macos-11, use MACOSX_DEPLOYMENT_TARGET=10.12 and -p macosx_10_12_x86_64 to force the wheel to support 10.12+.