Skip to content

Commit

Permalink
add more architectures for linux build process (#243)
Browse files Browse the repository at this point in the history
* add more architectures for linux build process

equivalent to https://github.com/restic/restic/blob/7d665fa1f4bc8714ffb11da9cf568b4861ab1478/helpers/build-release-binaries/main.go

* add solaris and s390x

Co-authored-by: Nicco <hi@nicco.io>
  • Loading branch information
whysthatso and cupcakearmy authored Oct 6, 2022
1 parent 4d9a2b8 commit 874ed52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ import (
var DIR, _ = filepath.Abs("./dist")

var targets = map[string][]string{
// "aix": {"ppc64"}, // Not supported by fsnotify
"darwin": {"amd64", "arm64"},
"freebsd": {"386", "amd64", "arm"},
"linux": {"386", "amd64", "arm", "arm64"},
"linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le", "s390x"},
"netbsd": {"386", "amd64"},
"openbsd": {"386", "amd64"},
// "windows": {"386", "amd64"}, // Not supported by autorestic
"solaris": {"amd64"},
}

type buildOptions struct {
Expand Down

1 comment on commit 874ed52

@vercel
Copy link

@vercel vercel bot commented on 874ed52 Oct 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

autorestic – ./

autorestic-cupcakearmy.vercel.app
autorestic-git-master-cupcakearmy.vercel.app
autorestic.vercel.app

Please sign in to comment.