feat: add CI build check and publish release workflows#2
Open
andrescera wants to merge 6 commits intomasterfrom
Open
feat: add CI build check and publish release workflows#2andrescera wants to merge 6 commits intomasterfrom
andrescera wants to merge 6 commits intomasterfrom
Conversation
- Add build-check.yml: runs on PR/push to main, builds for arm64/amd64 - Add publish-release.yml: manual workflow for releases - CalVer versioning with stable/beta channels - Builds .deb packages and .tar.gz archives - GPG signs APT repository metadata - Uploads to Cloudflare R2 - Creates GitHub release with all artifacts and checksums
The previous workflow failed because --load cannot load cross-platform images. Simplified to use native runners: - ubuntu-latest for AMD64 - ubuntu-24.04-arm for ARM64 This eliminates Docker, QEMU, and buildx complexity.
- Fix macOS workflow: use 'brew install googletest' instead of deprecated formula - Fix iOS workflow: correct toolchain path (../scripts/iOS.cmake) - Update actions/checkout to v4 for both workflows
Skip resource-intensive optional workflows on PRs: - Android builds (Docker) - iOS builds (requires macOS runner) - Windows builds - s390x QEMU builds (very slow) - ABI checks (not critical for CI workflow PRs) These will still run on direct pushes to master. Keep only critical workflows for PRs: - Build Check (amd64/arm64) - CodeQL security analysis - macOS and Ubuntu cxx11 builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
build-check.yml: CI workflow that runs on PR/push to main, builds for arm64/amd64publish-release.yml: Manual workflow for creating releasesFeatures
.debpackages and.tar.gzarchivesTest plan