From d8f0676d5c6628ba5c48e45fc00bfae5013c632d Mon Sep 17 00:00:00 2001 From: Misha Hawthorn Date: Tue, 6 Jan 2026 16:08:12 -0600 Subject: [PATCH] Add support for Linux ARM64 in build and installation workflows --- .github/workflows/build.yml | 4 +++- .goreleaser.yml | 1 + install | 1 + install.sh | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ff42246..24e12da 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build and upload artifacts (linux/amd64 and darwin/arm64) +name: Build and upload artifacts (linux/amd64, linux/arm64 and darwin/arm64) on: push: @@ -14,6 +14,8 @@ jobs: include: - goos: linux goarch: amd64 + - goos: linux + goarch: arm64 - goos: darwin goarch: arm64 diff --git a/.goreleaser.yml b/.goreleaser.yml index d9712fc..2dc3a7d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,6 +14,7 @@ builds: - linux goarch: - amd64 + - arm64 nfpms: - file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" replacements: diff --git a/install b/install index 1ab840e..87fdfa3 100755 --- a/install +++ b/install @@ -65,6 +65,7 @@ is_supported_platform() { windows/amd64) found=0 ;; darwin/amd64) found=0 ;; linux/amd64) found=0 ;; + linux/arm64) found=0 ;; esac return $found } diff --git a/install.sh b/install.sh index 1ab840e..87fdfa3 100644 --- a/install.sh +++ b/install.sh @@ -65,6 +65,7 @@ is_supported_platform() { windows/amd64) found=0 ;; darwin/amd64) found=0 ;; linux/amd64) found=0 ;; + linux/arm64) found=0 ;; esac return $found }