[TEST] feat(ci): reorganize GitHub Actions workflows for SQLite support#144
Merged
Conversation
Major changes:
- Delete build-multi-platform.yml (eliminate duplication)
- Extend release-binaries.yml to build both standard and SQLite binaries
- Extend build-and-push-canary-image.yml to build both standard and SQLite images
- Extend build-and-push-stable-image.yml to build both standard and SQLite images
Tagging strategy:
- Binaries: {version}-{os}-{arch} vs {version}-{os}-{arch}-sqlite
- Images: {tag} vs {tag}-sqlite
- OCI labels: Clear distinction between variants
Build matrix:
- Standard binaries: 6 platforms (Linux/Windows/macOS × amd64/arm64)
- SQLite binaries: 4 platforms (Linux/macOS × amd64/arm64)
- Canary images: 2 platforms per variant (linux/amd64, linux/arm64)
- Stable images: 3 platforms per variant (linux/amd64, linux/arm/v7, linux/arm64)
Refs #9
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7689992 to
ace634f
Compare
Owner
|
OK |
hrygo
approved these changes
Feb 11, 2026
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.
🧪 Workflow Testing PR
变更概述
主要变更
build-multi-platform.yml(消除重复配置)release-binaries.yml- 同时构建标准和 SQLite 二进制build-and-push-canary-image.yml- 同时构建标准和 SQLite 镜像build-and-push-stable-image.yml- 同时构建标准和 SQLite 镜像标签策略
二进制文件:
divinesense-{version}-{os}-{arch}divinesense-{version}-{os}-{arch}-sqliteDocker 镜像:
ghcr.io/hrygo/divinesense:{tag}ghcr.io/hrygo/divinesense:{tag}-sqlite📋 验证清单
自动触发的工作流
待验证工作流
🎯 预期结果
release-binaries.yml 预期构建产物 (10 个二进制)
标准版本 (6 个):
divinesense-v0.0.0-test-linux-amd64divinesense-v0.0.0-test-linux-arm64divinesense-v0.0.0-test-windows-amd64.exedivinesense-v0.0.0-test-windows-arm64.exedivinesense-v0.0.0-test-darwin-amd64divinesense-v0.0.0-test-darwin-arm64SQLite 版本 (4 个):
divinesense-v0.0.0-test-linux-amd64-sqlitedivinesense-v0.0.0-test-linux-arm64-sqlitedivinesense-v0.0.0-test-darwin-amd64-sqlitedivinesense-v0.0.0-test-darwin-arm64-sqliteDocker 镜像预期
Canary (自动触发):
ghcr.io/hrygo/divinesense:canary(linux/amd64 + linux/arm64)ghcr.io/hrygo/divinesense:canary-sqlite(linux/amd64 + linux/arm64)🔍 本地验证结果
✅ 配置审查通过:
📊 测试策略
第 1 阶段: PR 检查 (当前)
第 2 阶段: workflow_dispatch 测试
# 等待 PR 合并到 main 后执行 gh workflow run release-binaries.yml --raw-field tag_name=v0.0.1-test第 3 阶段: Canary 镜像测试
canary和canary-sqlite镜像创建第 4 阶段: 功能测试
📝 相关 Issue
Resolves #9 - SQLite AI Support
v0.0.0-test: workflow_dispatch 测试需要此 tag[TEST]前缀Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com