CI without debug info or incremental state dfe165877345
The rust sandbox's env turns off incremental builds and debug info for every job, as oxygenhub's pipeline does (oxygenhub#29).
- Author
- Andy McCall @andymccall <[email protected]>
- When
- · 2026-09-29 03:17 UTC
- Signature
- ✔ signed by Andy McCall
- Hash
dfe1658773454ebdcebc24bf1492064f02ff2dfdd0c44dc3c221bf847133cd07- Depends on
- 2b668d92b066
- Depended on by
- nothing yet
- In bookmarks
- agents-in-readme bare-hashes carried-not-removed carry-identical doctor-trust identical-sides keyless-tags main merge-remote-bookmark only-help-103 paths-for-resolutions-and-amend push-notes show-stat subrepo-pin-state switch-says
- In tags
- v0.1.0 v0.10.0 v0.11.0 v0.2.0 v0.3.0 v0.3.1 v0.4.0 v0.4.1 v0.4.2 v0.4.3 v0.4.4 v0.4.5 v0.4.6 v0.5.0 v0.5.1 v0.6.0 v0.7.0 v0.8.0 v0.9.0
- Edits
- 2 atoms, 0 tree operations, 1 file
Browse the tree at this change
modified .flow/pipeline.kdl +8 −9
| … | 12 unchanged lines |
||
| 13 | 13 | cpu-limit 4 |
|
| 14 | 14 | // Tests serve and connect on 127.0.0.1; nothing leaves the guest. |
|
| 15 | 15 | network "loopback" |
|
| 16 | + | // CI builds are thrown away: no incremental state and no debug info, |
|
| 17 | + | // so less to compile, link and write (as in oxygenhub's pipeline). |
|
| 18 | + | env { |
|
| 19 | + | CARGO_INCREMENTAL "0" |
|
| 20 | + | CARGO_PROFILE_DEV_DEBUG "0" |
|
| 21 | + | CARGO_PROFILE_TEST_DEBUG "0" |
|
| 22 | + | CARGO_PROFILE_RELEASE_DEBUG "0" |
|
| 23 | + | } |
|
| 16 | 24 | } |
|
| 17 | 25 | ||
| 18 | 26 | sandbox "rust-small" { |
|
| … | 17 unchanged lines |
||
| 36 | 44 | target "/src/target" |
|
| 37 | 45 | size "24GiB" |
|
| 38 | 46 | } |
|
| 39 | - | env { |
|
| 40 | - | CARGO_INCREMENTAL "0" |
|
| 41 | - | } |
|
| 42 | 47 | exec "cargo" "clippy" "--workspace" "--all-targets" "--locked" "--" "-D" "warnings" |
|
| 43 | 48 | } |
|
| 44 | 49 | ||
| … | 4 unchanged lines |
||
| 49 | 54 | source "ephemeral://disk" |
|
| 50 | 55 | target "/src/target" |
|
| 51 | 56 | size "24GiB" |
|
| 52 | - | } |
|
| 53 | - | env { |
|
| 54 | - | CARGO_INCREMENTAL "0" |
|
| 55 | 57 | } |
|
| 56 | 58 | exec "cargo" "test" "--workspace" "--locked" |
|
| 57 | 59 | } |
|
| … | 5 unchanged lines |
||
| 63 | 65 | source "ephemeral://disk" |
|
| 64 | 66 | target "/src/target" |
|
| 65 | 67 | size "24GiB" |
|
| 66 | - | } |
|
| 67 | - | env { |
|
| 68 | - | CARGO_INCREMENTAL "0" |
|
| 69 | 68 | } |
|
| 70 | 69 | exec "cargo" "build" "--release" "--locked" |
|
| 71 | 70 | } |