Skip to content

Commit

Permalink
try darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-zorn committed Aug 13, 2024
1 parent 6207b4b commit c7becd4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,25 @@ builds:
- id: ldcli
binary: ldcli
goos:
- linux
# WIP issue with -x - darwin
- windows
#- linux
- darwin
#- windows
goarch:
- 386
- amd64
- arm64
ldflags:
- -s
- >-
{{ if ne .Os "darwin" }}-s{{ end }}
# -s causes -Wl, -x to be passed to zig for darwin builds
- -w
- -v # log everything
- -linkmode external
- -extldflags -static
tags:
- netgo
flags:
- -x # log all commangs
- -x # log all commands
buildmode:
pie
env:
Expand Down

0 comments on commit c7becd4

Please sign in to comment.