add mingw to workflow
This commit is contained in:
parent
57c71f33cb
commit
e681f2a693
|
@ -19,6 +19,10 @@ jobs:
|
|||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: stable
|
||||
- name: Set up MinGW
|
||||
uses: egor-tensin/setup-mingw@v2
|
||||
with:
|
||||
platform: x64
|
||||
- uses: goreleaser/goreleaser-action@v5
|
||||
with:
|
||||
distribution: goreleaser
|
||||
|
|
|
@ -7,6 +7,7 @@ builds:
|
|||
env:
|
||||
- CGO_ENABLED=1
|
||||
- CC=x86_64-w64-mingw32-gcc
|
||||
- CXX=x86_64-w64-mingw32-g++
|
||||
release:
|
||||
prerelease: auto
|
||||
|
||||
|
|
Loading…
Reference in New Issue