Commit c524351
authored
ci: force rustup proxy on PATH for macos-14 x86_64 builds (#1151)
* ci: force rustup proxy on PATH for macos-14 x86_64 builds
macos-14 ARM runners intermittently expose a stale cargo binary that
resolves to rustup-init, breaking napi-rs `cargo metadata` calls during
the x86_64-apple-darwin build. Add a verification step after
dtolnay/rust-toolchain that re-prepends $HOME/.cargo/bin and runs
`cargo --version` so the failure surfaces immediately rather than deep
inside napi build.
Fixes #1136
* ci: clarify macOS rustup shim workaround scope (#1151)
Greptile noted that the step name ("macos-14 shim workaround") and PR
description suggested the fix only targets macos-14, while
runner.os == 'macOS' also covers macos-latest/aarch64-native. Issue
#1136 also recorded an aarch64-apple-darwin failure, so keeping the
broader guard is correct. Update the step name and comment to reflect
that the workaround intentionally applies to all macOS matrix entries
as a safety net.1 parent dd3b1fe commit c524351
2 files changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
70 | 84 | | |
71 | 85 | | |
72 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
179 | 193 | | |
180 | 194 | | |
181 | 195 | | |
| |||
0 commit comments