ci: Gitea Actions — CI build/test + cross-platform release on tags #22

Merged
warkanum merged 1 commits from feat/gitea-actions into main 2026-04-04 14:37:08 +00:00
Member

What this adds

.gitea/workflows/ci.yml

Runs on every push and PR:

  • go test ./...
  • Build check for amcs-server and amcs-cli

.gitea/workflows/release.yml

Triggers on v*.*.* tags:

  • Builds both binaries for 5 platforms: linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64
  • Embeds version, commit SHA, and build date via ldflags
  • Creates a Gitea Release with all 10 binaries + checksums.txt attached

Usage

# Trigger a release
make release-version   # bumps patch tag and pushes — Actions handles the rest
# or manually:
git tag v1.2.3 -m "Release v1.2.3"
git push origin v1.2.3
## What this adds ### `.gitea/workflows/ci.yml` Runs on every push and PR: - `go test ./...` - Build check for `amcs-server` and `amcs-cli` ### `.gitea/workflows/release.yml` Triggers on `v*.*.*` tags: - Builds both binaries for 5 platforms: `linux/amd64`, `linux/arm64`, `darwin/amd64`, `darwin/arm64`, `windows/amd64` - Embeds version, commit SHA, and build date via ldflags - Creates a Gitea Release with all 10 binaries + `checksums.txt` attached ## Usage ```bash # Trigger a release make release-version # bumps patch tag and pushes — Actions handles the rest # or manually: git tag v1.2.3 -m "Release v1.2.3" git push origin v1.2.3 ```
sgcommand added 1 commit 2026-04-04 14:28:19 +00:00
ci: add Gitea Actions — CI on push/PR, release on version tags
Some checks failed
CI / build-and-test (pull_request) Failing after -31m8s
CI / build-and-test (push) Successful in -28m7s
87a62c0d6c
- .gitea/workflows/ci.yml: build + test on every push and PR
- .gitea/workflows/release.yml: cross-platform release binaries on v*.*.* tags
  - Builds amcs-server and amcs-cli for linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64
  - Embeds version, commit, and build date via ldflags
  - Creates Gitea Release with all binaries and checksums.txt attached
warkanum merged commit 1328b3cc94 into main 2026-04-04 14:37:08 +00:00
warkanum deleted branch feat/gitea-actions 2026-04-04 14:37:26 +00:00
Sign in to join this conversation.