Repository navigation
Commit 82ab358
authored
Trust diffblue/cbmc tap so macOS Kani CI survives Homebrew 6.0+ (#688)
## Problem
Homebrew 6.0 started refusing to load formulae from untrusted
third-party taps. The pinned Kani's
`scripts/setup/macos/install_cbmc.sh` runs `brew tap diffblue/cbmc`,
which now fails on `macos-latest` runners, so CBMC never gets installed
and every macOS Kani job dies with:
```
[Errno 2] No such file or directory: 'cbmc'
```
This is currently red on all macOS jobs (see #685), and the fail-fast
cancellation also takes down the ubuntu counterparts.
## Fix
Run `brew trust diffblue/cbmc 2>/dev/null || true` in `run-kani.sh`
right before it invokes the macOS setup script, so the tap is trusted
before Kani taps it — regardless of which Kani commit is pinned. The
guard makes it a no-op on older Homebrew that lacks `brew trust`.
This mirrors the upstream Kani fix
[model-checking/kani#4785](model-checking/kani#4785),
applied at the verify-rust-std layer so it does **not** require bumping
the pinned Kani commit / toolchain.
## Testing
Ubuntu path is unchanged; macOS CI on this PR exercises the fix.1 parent 4da67dd commit 82ab358
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
165 | 171 | | |
166 | 172 | | |
167 | 173 | | |
| |||
0 commit comments