CI on OxygenFlow: fmt, clippy, test and build on every push issue #2 closed: completed andymccall opened this · 1 comment
andymccall set labels chore ·
andymccall set milestone Sprint 1 ·
andymccall edited ·
andymccall referenced by change ad258dc8cf5e on main ·
andymccall
Done in 895ce1ef: .flow/pipeline.kdl in Oxygen's shape (fmt on Spectra's own packages, clippy -D warnings, test under nextest and llvm-cov with JUnit and coverage, release build with the binary as an artifact). No image rebuild was needed: make deps-check confirms all 212 crates in Cargo.lock are vendored in the current rust image. Run issue #1 passed all four jobs. Flow was already on for this repository through the site default.
andymccall closed ·
Every push runs fmt, clippy, test and build on OxygenFlow, as Oxygen's does:
.flow/pipeline.kdland.flow/warm-target.shcopied from oxygen with the names changed; test runs nextest under llvm-cov and publishes the JUnit and coverage artifacts the hub shows;riscv64anddistleft out for now.Flow jobs have no network and build from a pinned image with every crate vendored (oxygenflow
images/rust/README.md). issue #1 keeps Spectra to crates already vendored there, and amake deps-checktarget compares Spectra'sCargo.lockwith the union of the three projects' lockfiles. If anything is missing, the image needs Spectra's workspace added to whatimages/rust/build.shvendors, a rebuild,flow rootfs importon Earth, and the new hash pinned here.Turn Flow on under the repository's Settings › Pipelines.
Done when a push to
mainshows four green checks on the hub, with test results and coverage. After issue #1.