Commit 25f462f
Marcos
ci: build Verilator 5.040 from source (apt ships 5.020, cocotb 2.x needs 5.036+)
The first CI run failed with:
cocotb requires Verilator 5.036 or later, but using 5.020.
Ubuntu 24.04 ships Verilator 5.020 in apt. Build 5.040 from source on
cache miss; subsequent CI runs hit the cache and reuse the install in
seconds.
This is exactly the kind of environment drift CI exists to catch — the
local dev box has Verilator 5.048 (Manjaro), so tests passed locally
but the CI environment was different. Fixed once, cached forever (until
we bump the version).
Signed-off-by: Marcos <m@pop.coop>1 parent 78e3ce4 commit 25f462f
1 file changed
Lines changed: 28 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
24 | 49 | | |
25 | 50 | | |
26 | 51 | | |
| |||
0 commit comments