add mingw to workflow

This commit is contained in:
Timofey Gelazoniya 2023-10-05 22:40:41 +03:00
parent 57c71f33cb
commit e681f2a693
Signed by: zeldon
GPG Key ID: 047886915281DD2A
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -7,6 +7,7 @@ builds:
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
release:
prerelease: auto