Skip to content

Commit cd0770e

Browse files
TNT-Likelyclaude
andcommitted
fix(ci): 禁用 Linux ARM64 构建以避免 CGO 交叉编译问题
- 排除 linux/arm64 组合(需要特殊交叉编译工具链) - 保留主要平台支持: • Linux x86_64 • macOS x86_64 & ARM64 (M1/M2) • Windows x86_64 - 未来可通过 GitHub Actions 矩阵构建来支持 ARM64 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent cd14048 commit cd0770e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.goreleaser.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ builds:
2020
goarch:
2121
- amd64
2222
- arm64
23-
# Windows 不支持 arm64
23+
# CGO 交叉编译限制:忽略需要特殊工具链的组合
2424
ignore:
2525
- goos: windows
2626
goarch: arm64
27+
- goos: linux
28+
goarch: arm64
2729
ldflags:
2830
- -s -w
2931
- -X github.com/TNT-Likely/killport/cmd.Version={{.Version}}

0 commit comments

Comments
 (0)