From 55c4ca66f79f6f3d2f21bbc02becc2daf0678887 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 28 Jan 2023 20:19:07 +0100 Subject: [PATCH] add linux/riscv64 builds --- .github/workflows/tests.yml | 2 +- changelog/unreleased/pull-4180 | 5 +++++ helpers/build-release-binaries/main.go | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 changelog/unreleased/pull-4180 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4ef827843..9c9555543 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -197,7 +197,7 @@ jobs: matrix: # run cross-compile in three batches parallel so the overall tests run faster targets: - - "linux/386 linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/mips linux/mipsle linux/mips64 linux/mips64le linux/s390x" + - "linux/386 linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/mips linux/mipsle linux/mips64 linux/mips64le linux/riscv64 linux/s390x" - "openbsd/386 openbsd/amd64 \ freebsd/386 freebsd/amd64 freebsd/arm \ diff --git a/changelog/unreleased/pull-4180 b/changelog/unreleased/pull-4180 new file mode 100644 index 000000000..ff43feb2b --- /dev/null +++ b/changelog/unreleased/pull-4180 @@ -0,0 +1,5 @@ +Enhancement: Add release binaries for riscv64 architecture on Linux + +We've added release binaries for riscv64 architecture on Linux. + +https://github.com/restic/restic/pull/4180 diff --git a/helpers/build-release-binaries/main.go b/helpers/build-release-binaries/main.go index 1662ada0b..0c0015f42 100644 --- a/helpers/build-release-binaries/main.go +++ b/helpers/build-release-binaries/main.go @@ -225,7 +225,7 @@ var defaultBuildTargets = map[string][]string{ "aix": {"ppc64"}, "darwin": {"amd64", "arm64"}, "freebsd": {"386", "amd64", "arm"}, - "linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le", "s390x"}, + "linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le", "riscv64", "s390x"}, "netbsd": {"386", "amd64"}, "openbsd": {"386", "amd64"}, "windows": {"386", "amd64"},