diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 661ac3d6d2..5ac9e88ecc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -90,8 +90,8 @@ jobs: uses: docker/setup-qemu-action@v3 id: qemu with: - # alpine image doesn't support linux/riscv64 - platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x + # alpine image doesn't support linux/loong64 + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/riscv64,linux/s390x - name: setup-docker-buildx uses: docker/setup-buildx-action@v3 - name: login-docker diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index c2111d2dd4..30199fc4ff 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -40,7 +40,7 @@ jobs: uses: docker/setup-qemu-action@v3 id: qemu with: - platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x + platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/riscv64,linux/s390x - name: setup-docker-buildx uses: docker/setup-buildx-action@v3 - name: login-docker diff --git a/CHANGELOG.md b/CHANGELOG.md index 7694c98b08..7b755f8e98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Add `textDocument/documentSymbol` support for `buf lsp serve`. - Fix LSP navigation for cached modules which could cause import paths to become unresolvable. - Update default value of `--timeout` flag to 0, which results in no timeout by default. +- Add LoongArch (64-bit) binaries for Linux to releases. ## [v1.59.0] - 2025-10-20 diff --git a/README.md b/README.md index a956e7c50e..914ffbf6a8 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,7 @@ The following is a breakdown of the binaries by CPU architecture and operating s | ARM (64-bit) | ✅ | ✅ | ✅ | | ARMv7 (32-bit) | ✅ | ❌ | ❌ | | RISC-V (64-bit) | ✅ | ❌ | ❌ | +| LoongArch (64-bit) | ✅ | ❌ | ❌ | | ppc64le | ✅ | ❌ | ❌ | | s390x | ✅ | ❌ | ❌ | diff --git a/make/buf/scripts/release.bash b/make/buf/scripts/release.bash index 091d362f11..948a962200 100644 --- a/make/buf/scripts/release.bash +++ b/make/buf/scripts/release.bash @@ -29,6 +29,7 @@ goarch() { arm64) echo arm64 ;; aarch64) echo arm64 ;; armv7) echo arm ;; + loongarch64 ) echo loong64 ;; ppc64le) echo ppc64le ;; s390x) echo s390x ;; *) echo "unsupported"; return 1 ;; @@ -87,7 +88,7 @@ mkdir -p "${RELEASE_DIR}" cd "${RELEASE_DIR}" for os in Darwin Linux Windows; do - for arch in x86_64 riscv64 arm64 armv7 ppc64le s390x; do + for arch in x86_64 riscv64 arm64 armv7 loongarch64 ppc64le s390x; do # our goal is to have the binaries be suffixed with $(uname -s)-$(uname -m) # on mac, this is arm64, on linux, this is aarch64, for historical reasons # this is a hacky way to not have to rewrite this loop (and others below) @@ -120,7 +121,7 @@ for os in Darwin Linux Windows; do done for os in Darwin Linux Windows; do - for arch in x86_64 riscv64 arm64 armv7 ppc64le s390x; do + for arch in x86_64 riscv64 arm64 armv7 loongarch64 ppc64le s390x; do if [[ ! "${arch}" =~ x86_64|arm64 ]] && [ "${os}" != "Linux" ]; then continue fi @@ -143,7 +144,7 @@ for os in Darwin Linux Windows; do done for os in Darwin Linux; do - for arch in x86_64 riscv64 arm64 armv7 ppc64le s390x; do + for arch in x86_64 riscv64 arm64 armv7 loongarch64 ppc64le s390x; do if [[ ! "${arch}" =~ x86_64|arm64 ]] && [ "${os}" != "Linux" ]; then continue fi