File tree 3 files changed +1
-24
lines changed 3 files changed +1
-24
lines changed Original file line number Diff line number Diff line change 7
7
shell : bash
8
8
run : |
9
9
echo 'CGO_ENABLED=1' >> $GITHUB_ENV
10
- - name : Windows setup
11
- shell : bash
12
- if : ${{ runner.os == 'Windows' }}
13
- run : |
14
- pacman -S --noconfirm mingw-w64-x86_64-toolchain mingw-w64-i686-toolchain
15
- echo '/c/msys64/mingw64/bin' >> $GITHUB_PATH
16
- echo 'PATH_386=/c/msys64/mingw32/bin:${{ env.PATH_386 }}' >> $GITHUB_ENV
17
10
- name : Linux setup
18
11
shell : bash
19
12
if : ${{ runner.os == 'Linux' }}
Original file line number Diff line number Diff line change 27
27
run : |
28
28
go version
29
29
go env
30
- - name : Use msys2 on windows
31
- if : startsWith(matrix.os, 'windows')
32
- shell : bash
33
- # The executable for msys2 is also called bash.cmd
34
- # https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md#shells
35
- # If we prepend its location to the PATH
36
- # subsequent 'shell: bash' steps will use msys2 instead of gitbash
37
- run : echo "C:/msys64/usr/bin" >> $GITHUB_PATH
38
30
- name : Run repo-specific setup
39
31
uses : ./.github/actions/go-test-setup
40
32
if : hashFiles('./.github/actions/go-test-setup') != ''
Original file line number Diff line number Diff line change 9
9
strategy :
10
10
fail-fast : false
11
11
matrix :
12
- os : [ "ubuntu", "windows", " macos" ]
12
+ os : [ "ubuntu", "macos" ]
13
13
go : [ "1.18.x", "1.19.x" ]
14
14
env :
15
15
COVERAGES : " "
26
26
run : |
27
27
go version
28
28
go env
29
- - name : Use msys2 on windows
30
- if : ${{ matrix.os == 'windows' }}
31
- shell : bash
32
- # The executable for msys2 is also called bash.cmd
33
- # https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md#shells
34
- # If we prepend its location to the PATH
35
- # subsequent 'shell: bash' steps will use msys2 instead of gitbash
36
- run : echo "C:/msys64/usr/bin" >> $GITHUB_PATH
37
29
- name : Run repo-specific setup
38
30
uses : ./.github/actions/go-test-setup
39
31
if : hashFiles('./.github/actions/go-test-setup') != ''
You can’t perform that action at this time.
0 commit comments