From 1432a0e3c280cf056ced6787886b70f618f5ef88 Mon Sep 17 00:00:00 2001 From: Mingcong Bai Date: Mon, 3 Aug 2026 10:05:17 +0800 Subject: [PATCH] ci: add Linux binary release for loong64, ppc64le, and riscv64 Add Linux binary release targets for loong64, ppc64le, and riscv64, these are architectures that are available both as desktop and server products. It is also reasonable to assume that they are used by developers as host machines, where this CLI tool would have been used. This commit is made with the understanding that GitHub has no interest in limiting usage of hardware of architectures other than x86, x86-64, Arm32, and Arm64. Given that GitHub CLI is largely an architecture-agnostic tool (at least with its built-in functionalities), that adding binary releases is rather trivial with GoReleaser, that Golang support is quite mature (and actively maintained) for the three architectures above, and that i386 is still a supported architecture despite host machines of strictly 32-bit x86 architecture likely being even more obscure, so add them. Link: https://github.com/cli/cli/issues/14012 Link: https://github.com/cli/cli/issues/8611 Link: https://github.com/cli/cli/pull/9410 Link: https://github.com/cli/cli/pull/8612 Link: https://github.com/cli/cli/pull/3615 Link: https://github.com/cli/cli/pull/1724 Signed-off-by: Mingcong Bai --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 9dd3c3e00bc..7ed312b40a7 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -33,7 +33,7 @@ builds: - id: linux #build:linux goos: [linux] - goarch: ["386", arm, amd64, arm64] + goarch: ["386", amd64, arm, arm64, loong64, ppc64le, riscv64] env: - CGO_ENABLED=0 hooks: