fix(ci): run Check on the dev runner label #40
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/EB-2-check-dev-runner-label"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
check.yml pinned the check job to RUNS_ON_OPENSUSE_BASE_LATEST and then compiled Rust natively on the runner (fmt, clippy, build, test). The base image ships cargo and rustc but no C toolchain, and build.rs forces at least one link step, so a cold-cache run fails with
error: linkerccnot found. A warm Swatinem/rust-cache hides it, so the defect only surfaces on the first run after a Cargo.toml / Cargo.lock change. Switch the job to RUNS_ON_OPENSUSE_DEV_LATEST, whose image carries cc/gcc/ld plus the glibc and OpenSSL headers.Sweep the other three workflows and annotate each label with why it is correct: build-windows.yml and release.yml compile inside
docker buildx, so the toolchain comes from the builder image and the runner only needs Docker; create-release.yml compiles nothing at all. All three stay on base.Add scripts/check-runner-labels.nu as a mechanical guard so the base label cannot silently come back: it fails if check.yml stops requesting the dev label, or if any runs-on in .forgejo/workflows/ loses the comment that justifies it. Wired into
just checkand into check.yml as its own step.#EB-2