Skip to content

Commit

Permalink
Add mingw to GO
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisMik committed Jan 30, 2024
1 parent b35cf18 commit 8376f59
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/go-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,19 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
go: [ '1.19', '1.20', '1.21' ]
go: [ '1.16', '1.17', '1.18', '1.19', '1.20', '1.21', 'stable' ]

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Set up Mingw
uses: egor-tensin/setup-mingw@v2
if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }}
with:
version: 11.2.0

- name: Setup go
uses: actions/setup-go@v4
with:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,19 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go: [ '1.19', '1.20', '1.21' ]
go: [ '1.16', '1.17', '1.18', '1.19', '1.20', '1.21', 'stable' ]

steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Set up Mingw
uses: egor-tensin/setup-mingw@v2
if: ${{ (matrix.os == 'windows-latest') && (matrix.go != 'stable') && (matrix.go < 1.20) }}
with:
version: 11.2.0

- name: Setup go
uses: actions/setup-go@v4
with:
Expand Down

0 comments on commit 8376f59

Please sign in to comment.