Downgrade MinGW to version 10.2.0

There is currently an issue in the race detector in Go on Windows when
used with a newer version of GCC. The issue was first reported here:

https://github.com/golang/go/issues/46099

Fixes #7104

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
Gabriel Adrian Samfira 2022-06-27 22:11:16 +03:00
parent 281c2b8f90
commit 1ef4bda433
No known key found for this signature in database
GPG Key ID: 7D073DCC2C074CB5

View File

@ -281,6 +281,14 @@ jobs:
- run: script/setup/install-dev-tools - run: script/setup/install-dev-tools
# There is currently an issue in the race detector in Go on Windows when
# used with a newer version of GCC. The issue was first reported here:
# https://github.com/golang/go/issues/46099
- name: Downgrade MinGW
shell: bash
run: |
choco install mingw --version 10.2.0 --allow-downgrade
- name: Binaries - name: Binaries
env: env:
CGO_ENABLED: 1 CGO_ENABLED: 1