Skip to content

Commit fa2016d

Browse files
gabriel-samfirakzys
authored andcommitted
[release/1.6] 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: golang/go#46099 Fixes containerd#7104 Signed-off-by: Gabriel Adrian Samfira <[email protected]> (cherry picked from commit 1ef4bda) Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 6309dc4 commit fa2016d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,14 @@ jobs:
267267
268268
- run: script/setup/install-dev-tools
269269

270+
# There is currently an issue in the race detector in Go on Windows when
271+
# used with a newer version of GCC. The issue was first reported here:
272+
# https://github.com/golang/go/issues/46099
273+
- name: Downgrade MinGW
274+
shell: bash
275+
run: |
276+
choco install mingw --version 10.2.0 --allow-downgrade
277+
270278
- name: Binaries
271279
env:
272280
CGO_ENABLED: 1

0 commit comments

Comments
 (0)