From 9a2a4f1051f468dada6ecdae541c9c632aaed83e Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Fri, 10 Sep 2021 15:42:45 +0800 Subject: [PATCH] add windows arm support on client-side since go 1.17 supports --- hack/lib/golang.sh | 2 ++ test/typecheck/main.go | 1 + 2 files changed, 3 insertions(+) diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 25f0fc88420..fe1a16f7b3c 100755 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -52,6 +52,7 @@ readonly KUBE_SUPPORTED_CLIENT_PLATFORMS=( darwin/arm64 windows/amd64 windows/386 + windows/arm64 ) # Which platforms we should compile test targets for. @@ -65,6 +66,7 @@ readonly KUBE_SUPPORTED_TEST_PLATFORMS=( darwin/amd64 darwin/arm64 windows/amd64 + windows/arm64 ) # The set of server targets that we are only building for Linux diff --git a/test/typecheck/main.go b/test/typecheck/main.go index bb45c38647c..b584a608aff 100644 --- a/test/typecheck/main.go +++ b/test/typecheck/main.go @@ -52,6 +52,7 @@ var ( "linux/arm", "linux/386", "windows/amd64", "linux/arm64", "linux/ppc64le", "linux/s390x", + "windows/arm64", } // directories we always ignore