ci: build inside bread-ecosystem's shared Arch container
All checks were successful
check / check (push) Successful in 4s

Ports breadpaper onto bread-ecosystem's shared, pinned Arch build
image/script instead of installing toolchain/libraries directly on the
bare self-hosted runner. Follows the pattern proven in breadpad:
ci/build.sh clones bread-ecosystem pinned to the sha in
ci/bread-ecosystem.rev and delegates to its ci/build.sh.

breadpaper needs nothing beyond the shared image's base package set
(only clap/anyhow as deps, no image-processing or GTK crates), so no
ci/deps.txt is added.

Also adds check.yml: clippy + test on feature/**/fix/** pushes, as a
fast pre-release-build signal, matching breadpaper's own build/test
flags (--release --locked, no --workspace since this isn't a
workspace).
This commit is contained in:
Breadway 2026-08-05 19:14:49 +08:00
parent ceb6fbb12f
commit 3eff1e5972
6 changed files with 52 additions and 6 deletions

View file

@ -21,10 +21,10 @@ jobs:
"https://git.breadway.dev/${GITHUB_REPOSITORY}.git" src
- name: build
run: cd src && cargo build --release --locked
run: cd src && bash ci/build.sh cargo build --release --locked
- name: test
run: cd src && cargo test --release --locked
run: cd src && bash ci/build.sh cargo test --release --locked
- name: prepare artifacts
run: |