@@ -21,77 +21,7 @@ The CUDA Python project uses a comprehensive CI pipeline that builds, tests, and
2121
2222### CI Pipeline Flow
2323
24- #### Visual Diagram (SVG)
25- ![ CUDA Python CI Pipeline Flow] ( ci-pipeline.svg )
26-
27- #### Text-based Diagram (ASCII)
28- ```
29- ┌─────────────────────────────────────────────────────────────────────────────────────┐
30- │ TRIGGER EVENTS │
31- │ • Push to main branch • Pull request │
32- │ • Push to pull-request/* branches • Manual workflow dispatch │
33- └─────────────────────────────────────────────────────────────────────────────────────┘
34- │
35- ▼
36- ┌─────────────────────────────────────────────────────────────────────────────────────┐
37- │ BUILD STAGE │
38- │ │
39- │ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │
40- │ │ linux-64 │ │ linux-aarch64 │ │ win-64 │ │
41- │ │ Self-hosted │ │ Self-hosted │ │ GitHub-hosted │ │
42- │ │ (runners) │ │ (runners) │ │ (runners) │ │
43- │ └─────────────────┘ └─────────────────┘ └─────────────────┘ │
44- │ │
45- │ • Python versions: 3.9, 3.10, 3.11, 3.12, 3.13 │
46- │ • CUDA version: 13.0.0 (build-time) │
47- │ • Components: cuda-core, cuda-bindings, cuda-pathfinder, cuda-python │
48- └─────────────────────────────────────────────────────────────────────────────────────┘
49- │
50- ▼
51- ┌─────────────────────────────────────────────────────────────────────────────────────┐
52- │ ARTIFACT STORAGE │
53- │ │
54- │ ┌──────────────────────────┐ ┌──────────────────────────┐ │
55- │ │ GitHub Artifacts │ │ GitHub Cache │ │
56- │ │ • Wheel files (.whl) │ │ • Mini CTK cache │ │
57- │ │ • Test artifacts │ │ │ │
58- │ │ • Documentation │ │ │ │
59- │ │ (30-day retention) │ │ │ │
60- │ └──────────────────────────┘ └──────────────────────────┘ │
61- └─────────────────────────────────────────────────────────────────────────────────────┘
62- │
63- ▼
64- ┌─────────────────────────────────────────────────────────────────────────────────────┐
65- │ TEST STAGE │
66- │ │
67- │ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │
68- │ │ linux-64 │ │ linux-aarch64 │ │ win-64 │ │
69- │ │ Self-hosted │ │ Self-hosted │ │ GitHub-hosted │ │
70- │ │ GPU runners │ │ GPU runners │ │ GPU runners │ │
71- │ │ │ │ │ │ │ │
72- │ └─────────────────┘ └─────────────────┘ └─────────────────┘ │
73- │ │
74- │ • Download wheels from artifacts │
75- │ • Test against multiple CUDA runtime versions │
76- │ • Run Python unit tests, Cython tests, examples │
77- └─────────────────────────────────────────────────────────────────────────────────────┘
78- │
79- ▼
80- ┌─────────────────────────────────────────────────────────────────────────────────────┐
81- │ RELEASE PIPELINE │
82- │ │
83- │ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │
84- │ │ Validation │────▶│ Publishing │────▶│ Documentation │ │
85- │ │ • Artifact │ │ • PyPI/TestPyPI │ │ • GitHub Pages │ │
86- │ │ integrity │ │ • Component or │ │ • API docs │ │
87- │ │ • Git tag │ │ all releases │ │ • Release notes │ │
88- │ │ verification │ │ │ │ │ │
89- │ └─────────────────┘ └─────────────────┘ └─────────────────┘ │
90- │ │
91- │ • Manual workflow dispatch with run ID │
92- │ • Supports individual component or full releases │
93- └─────────────────────────────────────────────────────────────────────────────────────┘
94- ```
24+ ![ CUDA Python CI Pipeline Flow] ( ci/ci-pipeline.svg )
9525
9626### Branch-specific Artifact Flow
9727
0 commit comments