OXYGENHUB

ci: keep clippy's and test's target from their last passing run (refs #28) c1a24672dbd5

Both target disks are caches keyed by Cargo.lock, with OXY_BUILD=ci so
flow's build script stays fresh from one state to the next.
Author
Andy McCall @andymccall <[email protected]>
When
· 2026-10-13 17:35 UTC
Signature
✔ signed by Andy McCall
Hash
c1a24672dbd5a65aaf0f2fd16fdc995eb0cfa2ae99a5615dda558963f6178a0b
Depends on
2b40cb9b87e1 f29b88af0d9b fe128fa67a06
Depended on by
nothing yet
In bookmarks
main
In tags
v0.2.0 v0.3.0 v0.3.1 v0.4.0 v0.5.0 v0.5.1 v0.5.2 v0.5.3
Edits
3 atoms, 0 tree operations, 1 file

Browse the tree at this change

modified .flow/pipeline.kdl +18 −0
…
63 unchanged lines
64 64
        source "ephemeral://disk"
65 65
        target "/src/target"
66 66
        size "16GiB"
67 +
        // Kept from this job's last passing run (oxygenflow#28): cargo
68 +
        // builds only what changed since.
69 +
        cache "target"
70 +
        key "Cargo.lock"
67 71
    }
68 72
    env {
69 73
        CARGO_INCREMENTAL "0"
70 74
    }
75 +
    // One build identity for every CI state, so the cached target stays
76 +
    // fresh from one push to the next (oxygenflow#52).
77 +
    env {
78 +
        OXY_BUILD "ci"
79 +
    }
71 80
    exec "sh" ".flow/warm-target.sh" "cargo" "clippy" "--workspace" "--all-targets" "--locked" "--" "-D" "warnings"
72 81
}
73 82
…
4 unchanged lines
78 87
        source "ephemeral://disk"
79 88
        target "/src/target"
80 89
        size "16GiB"
90 +
        // Kept from this job's last passing run (oxygenflow#28): cargo
91 +
        // builds only what changed since.
92 +
        cache "target"
93 +
        key "Cargo.lock"
94 +
    }
95 +
    // One build identity for every CI state, so the cached target stays
96 +
    // fresh from one push to the next (oxygenflow#52).
97 +
    env {
98 +
        OXY_BUILD "ci"
81 99
    }
82 100
    env {
83 101
        CARGO_INCREMENTAL "0"
…
12 unchanged lines