Build for darwin_arm64 (#4409)

Signed-off-by: Aditya Sharma <git@adi.run>
This commit is contained in:
Aditya Sharma
2021-11-30 08:27:29 -08:00
committed by GitHub
parent 02013ef335
commit 47aa093a16
3 changed files with 6 additions and 7 deletions

View File

@@ -27,11 +27,9 @@ builds:
- arm64
- ppc64le
ignore:
# don't build arm/arm64 for darwin or windows
# don't build arm for darwin and arm/arm64 for windows
- goos: darwin
goarch: arm
- goos: darwin
goarch: arm64
- goos: darwin
goarch: ppc64le
- goos: windows

View File

@@ -84,7 +84,7 @@ endef
# The version of restic binary to be downloaded
RESTIC_VERSION ?= 0.12.1
CLI_PLATFORMS ?= linux-amd64 linux-arm linux-arm64 darwin-amd64 windows-amd64 linux-ppc64le
CLI_PLATFORMS ?= linux-amd64 linux-arm linux-arm64 darwin-amd64 darwin-arm64 windows-amd64 linux-ppc64le
BUILDX_PLATFORMS ?= $(subst -,/,$(ARCH))
BUILDX_OUTPUT_TYPE ?= docker

View File

@@ -0,0 +1 @@
Build for darwin-arm64