Skip to content

Commit

Permalink
ci: enable cgo in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehco1996 committed Nov 13, 2022
1 parent 9067ff9 commit ca9b189
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ before:
builds:
- id: ehco
main: ./cmd/ehco/main.go
env:
- CGO_ENABLED=1
flags:
- -trimpath
ldflags:
Expand All @@ -21,8 +23,6 @@ builds:
- 7
goos:
- linux
- darwin
- windows
hooks:
post: ls dist/ && upx dist/*
archives:
Expand Down

0 comments on commit ca9b189

Please sign in to comment.