Skip to content

Commit

Permalink
workflows: Downgrade mingw to workaround Windows failure
Browse files Browse the repository at this point in the history
Because of golang/go#46099 'make check' on
Windows in GitHub Actions is failing with '==34372==ERROR:
ThreadSanitizer failed to allocate 0x000003061000 (50728960) bytes at
0x200dabe7d0000 (error code: 87)'

This commit downgrades mingw to 10.0.20 in order to avoid this problem.
This will need to be reverted once this is fixed in mingw or golang.
  • Loading branch information
cfergeau authored and praveenkumar committed Jul 26, 2022
1 parent d7cd449 commit 1b6bf22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/make-check-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
go:
- 1.17
steps:
- name: Downgrade mingw to workaround https://github.com/golang/go/issues/46099
run: choco install mingw --version 10.2.0 --allow-downgrade
- name: Check out repository code
uses: actions/checkout@v2
- name: Set up Go
Expand Down

0 comments on commit 1b6bf22

Please sign in to comment.