Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI test for Go. #372

Merged
merged 6 commits into from
Oct 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
arch: x86 # use 386 for GOARCH

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v4
Expand All @@ -48,11 +48,18 @@ jobs:
go env GOPATH
go env GOARCH

- name: Set up MinGW
if: matrix.os == 'windows-latest'
uses: egor-tensin/setup-mingw@v2
- name: Set up MinGW for x64
if: matrix.os == 'windows-latest' && matrix.arch == 'x64'
uses: csukuangfj/[email protected]
with:
platform: ${{ matrix.arch }}

- name: Set up MinGW for x86
if: matrix.os == 'windows-latest' && matrix.arch == 'x86'
uses: csukuangfj/[email protected]
with:
platform: ${{ matrix.arch }}
version: '12.2.0'

- name: Show gcc
if: matrix.os == 'windows-latest'
Expand Down
Loading