CI builds without debug info or incremental state 045f967db8f2
The rust sandbox's env (new in OxygenFlow) turns off incremental builds and debug info for every job: CI's builds are thrown away, so there is no use for either. The release profile keeps line tables for the binary Earth runs, which is built outside CI. refs #29
- Author
- Andy McCall @andymccall <[email protected]>
- When
- · 2026-09-29 03:03 UTC
- Signature
- ✔ signed by Andy McCall
- Hash
045f967db8f21b2aa9376e88e4e66ac266c50aa63685fa1bca479ffbe8cb8bf6- Depends on
- 380996db84e5
- Depended on by
- 3a01077da29a
- In bookmarks
- api-unknown-fields cancel-landed-runs clear-waiting close-proposal-140 diffusion-pin-bookmark draft-ready image-check job-waits main oh-comment-body-file proposal-list-fast run-one-job wiki-says-so
- In tags
- v0.1.0 v0.2.0 v0.3.0 v0.3.1 v0.4.0 v0.4.1 v0.4.2 v0.5.0 v0.5.1 v0.5.2 v0.6.0 v0.6.1 v0.7.0 v0.8.0 v0.9.0 v0.9.1 v0.9.11 v0.9.15 v0.9.16 v0.9.19 v0.9.2 v0.9.20 v0.9.21 v0.9.22 v0.9.23 v0.9.24 v0.9.3 v0.9.4 v0.9.5 v0.9.6 v0.9.7 v0.9.8 v0.9.9
- Edits
- 2 atoms, 0 tree operations, 1 file
Browse the tree at this change
modified .flow/pipeline.kdl +9 −9
| … | 13 unchanged lines |
||
| 14 | 14 | cpu-limit 4 |
|
| 15 | 15 | // Tests serve and connect on 127.0.0.1; nothing leaves the guest. |
|
| 16 | 16 | network "loopback" |
|
| 17 | + | // CI builds are thrown away: no incremental state, and no debug info |
|
| 18 | + | // (the release profile keeps line tables for the binary Earth runs, |
|
| 19 | + | // which is built outside CI), so less to compile, link and write. |
|
| 20 | + | env { |
|
| 21 | + | CARGO_INCREMENTAL "0" |
|
| 22 | + | CARGO_PROFILE_DEV_DEBUG "0" |
|
| 23 | + | CARGO_PROFILE_TEST_DEBUG "0" |
|
| 24 | + | CARGO_PROFILE_RELEASE_DEBUG "0" |
|
| 25 | + | } |
|
| 17 | 26 | } |
|
| 18 | 27 | ||
| 19 | 28 | sandbox "rust-small" { |
|
| … | 19 unchanged lines |
||
| 39 | 48 | target "/src/target" |
|
| 40 | 49 | size "24GiB" |
|
| 41 | 50 | } |
|
| 42 | - | env { |
|
| 43 | - | CARGO_INCREMENTAL "0" |
|
| 44 | - | } |
|
| 45 | 51 | exec "cargo" "clippy" "--workspace" "--all-targets" "--locked" "--" "-D" "warnings" |
|
| 46 | 52 | } |
|
| 47 | 53 | ||
| … | 5 unchanged lines |
||
| 53 | 59 | target "/src/target" |
|
| 54 | 60 | size "24GiB" |
|
| 55 | 61 | } |
|
| 56 | - | env { |
|
| 57 | - | CARGO_INCREMENTAL "0" |
|
| 58 | - | } |
|
| 59 | 62 | exec "cargo" "test" "--workspace" "--locked" |
|
| 60 | 63 | } |
|
| 61 | 64 | ||
| … | 4 unchanged lines |
||
| 66 | 69 | source "ephemeral://disk" |
|
| 67 | 70 | target "/src/target" |
|
| 68 | 71 | size "24GiB" |
|
| 69 | - | } |
|
| 70 | - | env { |
|
| 71 | - | CARGO_INCREMENTAL "0" |
|
| 72 | 72 | } |
|
| 73 | 73 | exec "cargo" "build" "--release" "--locked" |
|
| 74 | 74 | } |