From 61f42fe7d4eb173495553028ba7efe66d99a93c6 Mon Sep 17 00:00:00 2001 From: Matteo Rolla Date: Sun, 30 Jun 2019 13:48:46 +0200 Subject: [PATCH] Add releases for Windows and missing arch for macOS --- .circleci/config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index cbe9cc3b..4f24296a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,10 +13,13 @@ jobs: - run: name: Build command: | + CGO_ENABLED=0 GOOS=darwin GOARCH=386 go build -mod=vendor -ldflags="-s -w" -a -o build/terraform-provider-circleci-darwin-386 CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -mod=vendor -ldflags="-s -w" -a -o build/terraform-provider-circleci-darwin-amd64 CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -mod=vendor -ldflags="-s -w" -a -o build/terraform-provider-circleci-linux-386 CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -mod=vendor -ldflags="-s -w" -a -o build/terraform-provider-circleci-linux-amd64 CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -mod=vendor -ldflags="-s -w" -a -o build/terraform-provider-circleci-linux-arm + CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -mod=vendor -ldflags="-s -w" -a -o build/terraform-provider-circleci-windows-386.exe + CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -mod=vendor -ldflags="-s -w" -a -o build/terraform-provider-circleci-windows-amd64.exe - run: name: Compute checksum of binaries command: |