Commit 0825f56
ci: retry build dir cleanup on Windows (#807)
## What
Retry `rm -rf` cleanup in the CMake CI helper scripts. Windows can
briefly keep a just-built executable or DLL open, which can make cleanup
fail even after the build and tests have passed.
`build_example.sh` retries before configuring and still lets `mkdir`
fail if the directory remains, so it will not build in a half-deleted
tree. `build_iceberg.sh` retries after the build and does not fail an
otherwise successful job if final cleanup is still blocked.
---------
Co-authored-by: Abanoub Doss <abanoub.doss@gmail.com>1 parent 2191844 commit 0825f56
2 files changed
Lines changed: 24 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
27 | 38 | | |
28 | 39 | | |
29 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
0 commit comments