Commit bbf5146
committed
ci: optimize Windows CI speed with Dev Drive and Defender disable
1. ci.yml: Upgrade Windows Test and CLI E2E jobs from Defender-only to
Dev Drive (ReFS) — same approach used by oxc and rolldown. ReFS Dev
Drives bypass Defender scanning automatically and reduce NTFS metadata
overhead. Expected: faster cargo cache restore, cargo build, and test.
2. e2e-test.yml: Add Defender disable to Windows build job and e2e-test
jobs which previously had no Windows I/O optimization at all.
The build job took ~4min 18s on Windows vs ~1min 57s on Ubuntu.
References:
- oxc: https://github.com/oxc-project/oxc (uses setup-dev-drive)
- rolldown: https://github.com/rolldown/rolldown (uses setup-dev-drive)
- setup-dev-drive: https://github.com/samypr100/setup-dev-drive1 parent b66f338 commit bbf5146
2 files changed
+32
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | | - | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
| |||
192 | 198 | | |
193 | 199 | | |
194 | 200 | | |
195 | | - | |
196 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
197 | 204 | | |
198 | | - | |
199 | | - | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
200 | 212 | | |
201 | 213 | | |
202 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| |||
258 | 264 | | |
259 | 265 | | |
260 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
261 | 273 | | |
262 | 274 | | |
263 | 275 | | |
| |||
0 commit comments