[CI] Add initial github CI #721
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CI images:
Rocky images is used for release CI: (release wheel and tar.gz)
ghcr.io/nvidia/tensorrt-incubator/mlir-tensorrt:cuda12.9-rocky-gcc11
ghcr.io/nvidia/tensorrt-incubator/mlir-tensorrt:cuda13.0-rocky
ubuntu image is used for PR and nightly CI
ghcr.io/nvidia/tensorrt-incubator/mlir-tensorrt:cuda12.9-ubuntu-llvm17
ghcr.io/nvidia/tensorrt-incubator/mlir-tensorrt:cuda13.0-ubuntu
PR CI: (triggered by PR)
test on aarch64/x86_64 + cu12.9 + tensorrt 10.12
run the following job: Lint, basic build and test
PR pipeline example: https://github.com/NVIDIA/TensorRT-Incubator/actions/runs/19751211554
(The failure are the actual failure, will be looking at this once Chris's Sync PR is in main)
Nightly CI: (triggered by github cron schedule every night on main)
test on aarch64/x86_64 + cu12.9/13.0 + tensorrt 10.12/10.13
run the following job: Lint, basic build and test, asan test, long test, nccl long test, build wheel, build distribution
(Nightly Pipeline is a scheduled nightly pipeline, can only be triggered once the code is in main branch)
due to Github Runner will not allow any scheduled pipeline on non-main branch
Release CI: (trigger via tag, eg: v4.3.0 or v4.3.0-rc1)
release on aarch64/x86_64 + cu12.9/13.0 + tensorrt 10.12/10.13
run the following job: Lint, build wheel, build distribution
release pipeline example: https://github.com/NVIDIA/TensorRT-Incubator/actions/runs/19753615772/job/56601312899
(The failure are the actual failure, will be looking at this once Chris's Sync PR is in main)
Other changes in this PR:
Added the pre-commit configure, so that it can force lint and format check before allow commiting code.
Please install the pre-commit hook via
pre-commit install