From 495831d53cf4191ce24c9d4bf9fd29473cd18655 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sat, 10 Jul 2021 00:10:24 +0200 Subject: [PATCH] add release binaries for linux/s390x --- .github/workflows/tests.yml | 2 +- changelog/unreleased/issue-2780 | 6 ++++++ helpers/build-release-binaries/main.go | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 changelog/unreleased/issue-2780 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dbffd412c..5fd4d08b3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -195,7 +195,7 @@ jobs: matrix: # run cross-compile in two 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/386 linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/mips linux/mipsle linux/mips64 linux/mips64le linux/s390x \ openbsd/386 openbsd/amd64" - "freebsd/386 freebsd/amd64 freebsd/arm \ diff --git a/changelog/unreleased/issue-2780 b/changelog/unreleased/issue-2780 new file mode 100644 index 000000000..d061e92a4 --- /dev/null +++ b/changelog/unreleased/issue-2780 @@ -0,0 +1,6 @@ +Enhancement: Add release binaries for s390x architecture on Linux + +We've added release binaries for Linux using the s390x architecture. + +https://github.com/restic/restic/issues/2780 +https://github.com/restic/restic/pull/3452 diff --git a/helpers/build-release-binaries/main.go b/helpers/build-release-binaries/main.go index d1ea3cecb..0c1e6527c 100644 --- a/helpers/build-release-binaries/main.go +++ b/helpers/build-release-binaries/main.go @@ -226,7 +226,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"}, + "linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le", "s390x"}, "netbsd": {"386", "amd64"}, "openbsd": {"386", "amd64"}, "windows": {"386", "amd64"},