Skip to content

Commit f91654a

Browse files
committed
.github/workflows/main.yml: force mingw32 test to Windows 2019.
Actions' windows-latest is equipped with newer mingw, which causes linking problems in mingw32 debug builds. See #677 for details.
1 parent 61faa9e commit f91654a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ jobs:
4848
rust: stable
4949
target: x86_64-pc-windows-msvc
5050
- build: mingw32
51-
os: windows-latest
51+
# windows-latest, a.k.a. windows-2022, runner is equipped with
52+
# a newer mingw toolchain, which appears to produce unexecutable
53+
# mixed-language binaries in debug builds. Fall back to
54+
# windows-2019 for now and revisit it later...
55+
os: windows-2019
5256
rust: stable-i686-gnu
5357
target: i686-pc-windows-gnu
5458
- build: mingw64

0 commit comments

Comments
 (0)