Archived
ci+vendor: pin the lifted tree by hash, and run the suite on every push
Two standing gaps in how this tree is guarded. vendor/ records what every lifted file is and what we changed, in prose -- prose nothing enforces. vendor/SHA256SUMS is the mechanical half: all 73 files under vendor/, the lifts, the patch series and the record itself, hashed; tests/vendor_sums.sh recomputes both directions -- a file whose content drifted from its record, and a file that arrived without being recorded -- and fails the suite (ctest: vendor_sums, in the fast tier). An unrecorded change to a lifted dependency now has to survive being a committed manifest update to ship, instead of slipping through a rebase the way 33108e4's silent reverts did through this branch's history. And no CI ran the suite at all. .woodpecker.yml (Codeberg CI) builds CPU-only with the media codecs present and runs the host preset -- everything but the gpu and oot tiers. The runner is the current Ubuntu LTS deliberately: the mp4 writer binds FFmpeg's >= 7 AVIO callbacks and 24.04's 6.1 does not compile it. Rehearsed on a native Ubuntu 26.04 box -- the same gcc 15.2 the image carries -- the host preset fails eight cases on this branch, and the same eight on plain upstream/main: arch, chatparse, engine_e2e, two gbnf shards, place, quant_ggml and avx_check. Pre-existing under gcc 15, partly machine-dependent (avx_check compares kernels op by op on the CPU it finds, and the gbnf shards flip under load); this branch adds none of them. CI's first red is upstream's to see.
This commit is contained in:
1 parent
1577854d00
commit
8e65e1a302
5 files changed
+146
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# Codeberg CI (Woodpecker): the full suite on a machine without ROCm -- the CPU-only build, the
|
||||
# same posture as `./build.sh --no-hip` -- on the current Ubuntu LTS. The LTS is chosen, not
|
||||
# assumed: the media codecs must be new enough for the FFmpeg >= 7 callback signatures the mp4
|
||||
# writer binds (24.04's 6.1 does not compile), and the card suites (`*_card`, LABELS "gpu") want
|
||||
# hardware this runner does not have, so the run is the host preset -- everything but gpu and oot.
|
||||
# vendor_sums runs here as everywhere: a changed lift that the vendor record does not carry fails
|
||||
# CI before it fails a user.
|
||||
when:
|
||||
- event: [push, pull_request, tag]
|
||||
|
||||
steps:
|
||||
test:
|
||||
image: ubuntu:26.04
|
||||
commands:
|
||||
- export DEBIAN_FRONTEND=noninteractive
|
||||
- apt-get update -qq
|
||||
- apt-get install -y -qq --no-install-recommends git cmake ninja-build g++ pkg-config jq
|
||||
ca-certificates libavformat-dev libavcodec-dev libavutil-dev libswscale-dev
|
||||
libswresample-dev
|
||||
- cmake -S . -B build -G Ninja -DRAD_WITH_HIP=OFF -DRAD_WITH_FFMPEG=AUTO
|
||||
- cmake --build build -j "$(nproc)"
|
||||
- ctest --preset host # everything but gpu and oot, in the configured build dir
|
||||
Reference in new issue
Block a user