forked from TrueCloudLab/restic
Build darwin/arm64 binaries for Apple M1
This commit is contained in:
parent
6d8ceefd67
commit
af6f6fba15
3 changed files with 8 additions and 2 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -200,7 +200,7 @@ jobs:
|
||||||
|
|
||||||
- "freebsd/386 freebsd/amd64 freebsd/arm \
|
- "freebsd/386 freebsd/amd64 freebsd/arm \
|
||||||
aix/ppc64 \
|
aix/ppc64 \
|
||||||
darwin/amd64 \
|
darwin/amd64 darwin/arm64 \
|
||||||
netbsd/386 netbsd/amd64 \
|
netbsd/386 netbsd/amd64 \
|
||||||
windows/386 windows/amd64 \
|
windows/386 windows/amd64 \
|
||||||
solaris/amd64"
|
solaris/amd64"
|
||||||
|
|
6
changelog/unreleased/issue-3377
Normal file
6
changelog/unreleased/issue-3377
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Enhancement: Add release binaries for Apple Silicon
|
||||||
|
|
||||||
|
We've added release binaries for macOS on Apple Silicon.
|
||||||
|
|
||||||
|
https://github.com/restic/restic/issues/3377
|
||||||
|
https://github.com/restic/restic/pull/3394
|
|
@ -224,7 +224,7 @@ func buildTargets(sourceDir, outputDir string, targets map[string][]string) {
|
||||||
// ATTENTION: the list of architectures must be in sync with .github/workflows/tests.yml!
|
// ATTENTION: the list of architectures must be in sync with .github/workflows/tests.yml!
|
||||||
var defaultBuildTargets = map[string][]string{
|
var defaultBuildTargets = map[string][]string{
|
||||||
"aix": {"ppc64"},
|
"aix": {"ppc64"},
|
||||||
"darwin": {"amd64"},
|
"darwin": {"amd64", "arm64"},
|
||||||
"freebsd": {"386", "amd64", "arm"},
|
"freebsd": {"386", "amd64", "arm"},
|
||||||
"linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le"},
|
"linux": {"386", "amd64", "arm", "arm64", "ppc64le", "mips", "mipsle", "mips64", "mips64le"},
|
||||||
"netbsd": {"386", "amd64"},
|
"netbsd": {"386", "amd64"},
|
||||||
|
|
Loading…
Reference in a new issue