Skip to content

Commit 1ef4bda

Browse files
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]>
1 parent 281c2b8 commit 1ef4bda

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
@@ -281,6 +281,14 @@ jobs:
281281
282282
- run: script/setup/install-dev-tools
283283

284+
# There is currently an issue in the race detector in Go on Windows when
285+
# used with a newer version of GCC. The issue was first reported here:
286+
# https://github.com/golang/go/issues/46099
287+
- name: Downgrade MinGW
288+
shell: bash
289+
run: |
290+
choco install mingw --version 10.2.0 --allow-downgrade
291+
284292
- name: Binaries
285293
env:
286294
CGO_ENABLED: 1

0 commit comments

Comments
 (0)