Commit 088fda1
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 7a69477 commit 088fda1
1 file changed
Lines changed: 55 additions & 6 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 | + | |
| 42 | + | |
| 43 | + | |
20 | 44 | | |
21 | 45 | | |
| 46 | + | |
22 | 47 | | |
23 | 48 | | |
24 | 49 | | |
| |||
30 | 55 | | |
31 | 56 | | |
32 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
33 | 68 | | |
34 | 69 | | |
35 | 70 | | |
| |||
47 | 82 | | |
48 | 83 | | |
49 | 84 | | |
| 85 | + | |
50 | 86 | | |
51 | 87 | | |
52 | 88 | | |
| |||
100 | 136 | | |
101 | 137 | | |
102 | 138 | | |
103 | | - | |
104 | | - | |
| 139 | + | |
| 140 | + | |
105 | 141 | | |
106 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
107 | 149 | | |
108 | 150 | | |
109 | 151 | | |
| |||
133 | 175 | | |
134 | 176 | | |
135 | 177 | | |
| 178 | + | |
136 | 179 | | |
137 | 180 | | |
138 | 181 | | |
| |||
151 | 194 | | |
152 | 195 | | |
153 | 196 | | |
154 | | - | |
155 | | - | |
| 197 | + | |
| 198 | + | |
156 | 199 | | |
157 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
158 | 207 | | |
159 | 208 | | |
160 | 209 | | |
| |||
0 commit comments