Skip to content

Commit

Permalink
Merge pull request #86 from smallstep/herman/windows-arm64-build
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman committed Aug 1, 2023
2 parents ed376a3 + ddd1221 commit 47eb2a7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,20 @@ builds:
- -trimpath
ldflags:
- -s -w -X {{.ModulePath}}/cmd.Version={{.Version}} -X {{.ModulePath}}/cmd.ReleaseDate={{.Date}}
- id: windows-arm64
main: ./main.go
binary: step-kms-plugin
goos:
- windows
goarch:
- arm64
env:
- CC=/llvm-mingw/bin/aarch64-w64-mingw32-gcc
- CXX=/llvm-mingw/bin/aarch64-w64-mingw32-g++
flags:
- -trimpath
ldflags:
- -s -w -X {{.ModulePath}}/cmd.Version={{.Version}} -X {{.ModulePath}}/cmd.ReleaseDate={{.Date}}

archives:
- id: step-kms-plugin
Expand All @@ -92,6 +106,7 @@ archives:
- darwin-amd64
- darwin-arm64
- windows-amd64
- windows-arm64
wrap_in_directory: "{{ .ProjectName }}_{{ .Version }}"
files:
- README.md
Expand Down

0 comments on commit 47eb2a7

Please sign in to comment.