Skip to content

Commit

Permalink
add mingw to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
xzeldon committed Oct 5, 2023
1 parent 57c71f3 commit e681f2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ builds:
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
release:
prerelease: auto

Expand Down

0 comments on commit e681f2a

Please sign in to comment.