Release pipeline: cargo-release config + Gitea Actions workflows
ci / quality (push) Failing after 1m43s

- release.toml: one shared workspace version, single vX.Y.Z tag,
  full test suite as the pre-release gate, no crates.io publishing.
- .gitea/workflows/ci.yml: the Woodpecker quality bar (fmt, clippy
  -D warnings, tests) for repos served by act_runner.
- .gitea/workflows/release.yml: on a version tag, build stripped
  release binaries for x86_64 and aarch64 Linux, bundle them with the
  systemd units, rendered man pages and example config, and attach the
  tarballs (+ sha256) to a Gitea release via the API.
- dist/PKGBUILD: point at the repo's new home on project.uhhm.no.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-16 14:54:17 +02:00
parent 4033c0ffab
commit c52c3b1238
5 changed files with 141 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
# Gitea Actions mirror of the Woodpecker quality bar (.ci/woodpecker.yaml):
# fmt, clippy -D warnings, full test suite.
name: ci
on:
push:
branches: [main]
pull_request:
jobs:
quality:
runs-on: ubuntu-latest
container: rust:1
steps:
- uses: actions/checkout@v4
- name: rustfmt
run: |
rustup component add rustfmt
cargo fmt --all --check
- name: clippy
run: |
rustup component add clippy
cargo clippy --workspace --all-targets -- -D warnings
- name: test
run: cargo test --workspace