Commit 05a23ef
committed
fix(build-gpu-test-binary): surface cargo stderr on compile failure
Run cargo separately from the jq pipeline. Piped under set -o pipefail, a
compile failure aborted the script at the pipeline before the diagnostic
block could print stderr, so genuine candle/CUDA build errors surfaced only
as an opaque 'exit 101'. Capture cargo's status explicitly and always dump
stderr on failure.1 parent 0771f6b commit 05a23ef
1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
24 | 39 | | |
25 | | - | |
26 | | - | |
| 40 | + | |
27 | 41 | | |
28 | 42 | | |
29 | 43 | | |
| |||
0 commit comments