Merge pull request #30 from libp2p/galargh-patch-2

Install mingw toolchain on windows machines for go test
This commit is contained in:
Piotr Galar 2022-06-06 15:27:09 +02:00 committed by GitHub
commit 53894525e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ runs:
shell: bash
if: ${{ runner.os == 'Windows' }}
run: |
pacman -S --noconfirm mingw-w64-x86_64-toolchain mingw-w64-i686-toolchain
echo '/c/msys64/mingw64/bin' >> $GITHUB_PATH
echo 'PATH_386=/c/msys64/mingw32/bin:${{ env.PATH_386 }}' >> $GITHUB_ENV
- name: Linux setup