Commit 154bd49
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 b8b8072 commit 154bd49
1 file changed
Lines changed: 39 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 | + | |
| 42 | + | |
| 43 | + | |
20 | 44 | | |
21 | 45 | | |
| 46 | + | |
22 | 47 | | |
23 | 48 | | |
24 | 49 | | |
25 | 50 | | |
26 | 51 | | |
27 | 52 | | |
28 | 53 | | |
29 | | - | |
30 | | - | |
| 54 | + | |
| 55 | + | |
31 | 56 | | |
32 | | - | |
| 57 | + | |
| 58 | + | |
33 | 59 | | |
34 | 60 | | |
35 | 61 | | |
| |||
47 | 73 | | |
48 | 74 | | |
49 | 75 | | |
| 76 | + | |
50 | 77 | | |
51 | 78 | | |
52 | 79 | | |
| |||
100 | 127 | | |
101 | 128 | | |
102 | 129 | | |
103 | | - | |
104 | | - | |
| 130 | + | |
| 131 | + | |
105 | 132 | | |
106 | | - | |
| 133 | + | |
| 134 | + | |
107 | 135 | | |
108 | 136 | | |
109 | 137 | | |
| |||
133 | 161 | | |
134 | 162 | | |
135 | 163 | | |
| 164 | + | |
136 | 165 | | |
137 | 166 | | |
138 | 167 | | |
| |||
151 | 180 | | |
152 | 181 | | |
153 | 182 | | |
154 | | - | |
155 | | - | |
| 183 | + | |
| 184 | + | |
156 | 185 | | |
157 | | - | |
| 186 | + | |
| 187 | + | |
158 | 188 | | |
159 | 189 | | |
160 | 190 | | |
| |||
0 commit comments