Commit 3035233
CI: build driver once on Linux, share bundles as an artifact
The per-job source build can't run on Windows (Git Bash lacks zip/unzip and
the heavy upstream monorepo build is not exercised there), and rebuilding the
fully cross-platform driver in every wheel job is redundant and slow.
Add a single 'build-driver' job that builds all six platform bundles on Linux
and uploads them as a workflow artifact. Every wheel-building job (Lint, Build,
Stable, Conda) now downloads that artifact into driver/ so setup.py's
ensure_driver_bundle early-returns and embeds the prebuilt zip -- no Node, bash
or zip/unzip needed on Windows/macOS. A verify step asserts all six bundles are
present before building.
Docker and Azure publish are unchanged: they run on Linux and build the driver
once on their own host, which already works.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 3b66f3f commit 3035233
1 file changed
Lines changed: 37 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
20 | 42 | | |
21 | 43 | | |
| 44 | + | |
22 | 45 | | |
23 | 46 | | |
24 | 47 | | |
25 | 48 | | |
26 | 49 | | |
27 | 50 | | |
28 | 51 | | |
29 | | - | |
30 | | - | |
| 52 | + | |
| 53 | + | |
31 | 54 | | |
32 | | - | |
| 55 | + | |
| 56 | + | |
33 | 57 | | |
34 | 58 | | |
35 | 59 | | |
| |||
47 | 71 | | |
48 | 72 | | |
49 | 73 | | |
| 74 | + | |
50 | 75 | | |
51 | 76 | | |
52 | 77 | | |
| |||
100 | 125 | | |
101 | 126 | | |
102 | 127 | | |
103 | | - | |
104 | | - | |
| 128 | + | |
| 129 | + | |
105 | 130 | | |
106 | | - | |
| 131 | + | |
| 132 | + | |
107 | 133 | | |
108 | 134 | | |
109 | 135 | | |
| |||
133 | 159 | | |
134 | 160 | | |
135 | 161 | | |
| 162 | + | |
136 | 163 | | |
137 | 164 | | |
138 | 165 | | |
| |||
151 | 178 | | |
152 | 179 | | |
153 | 180 | | |
154 | | - | |
155 | | - | |
| 181 | + | |
| 182 | + | |
156 | 183 | | |
157 | | - | |
| 184 | + | |
| 185 | + | |
158 | 186 | | |
159 | 187 | | |
160 | 188 | | |
| |||
0 commit comments