-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eead16e
commit 58ab7e7
Showing
1 changed file
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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' | ||
|