Cross compile clusterlint for darwin arm64

master
Varsha Varadarajan 2022-01-12 21:19:52 -05:00 committed by GitHub
parent dbed5ed5de
commit c1e8541783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

1
.github/build vendored
View File

@ -6,6 +6,7 @@ export GO111MODULE=on
env GOOS=linux GOARCH=amd64 go build -mod=vendor -o clusterlint ./cmd/clusterlint; tar -czvf clusterlint-$t-linux-amd64.tar.gz ./clusterlint
env GOOS=linux GOARCH=386 go build -mod=vendor -o clusterlint ./cmd/clusterlint; tar -czvf clusterlint-$t-linux-386.tar.gz ./clusterlint
env GOOS=darwin GOARCH=amd64 go build -mod=vendor -o clusterlint ./cmd/clusterlint; tar -czvf clusterlint-$t-darwin-amd64.tar.gz ./clusterlint
env GOOS=darwin GOARCH=arm64 go build -mod=vendor -o clusterlint ./cmd/clusterlint; tar -czvf clusterlint-$t-darwin-arm64.tar.gz ./clusterlint
env GOOS=windows GOARCH=amd64 go build -mod=vendor -o clusterlint.exe ./cmd/clusterlint; tar -czvf clusterlint-$t-windows-amd64.tar.gz ./clusterlint
env GOOS=windows GOARCH=386 go build -mod=vendor -o clusterlint.exe ./cmd/clusterlint; tar -czvf clusterlint-$t-windows-386.tar.gz ./clusterlint
sha256sum clusterlint-$t-linux-amd64.tar.gz >> clusterlint-$t-checksums.sha256