From f91654ac7e229b3df4a09db0399757039c05fb90 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 10 Jul 2022 13:21:19 +0200 Subject: [PATCH] .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. --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 303a448c..06209366 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,7 +48,11 @@ jobs: rust: stable target: x86_64-pc-windows-msvc - build: mingw32 - os: windows-latest + # windows-latest, a.k.a. windows-2022, runner is equipped with + # a newer mingw toolchain, which appears to produce unexecutable + # mixed-language binaries in debug builds. Fall back to + # windows-2019 for now and revisit it later... + os: windows-2019 rust: stable-i686-gnu target: i686-pc-windows-gnu - build: mingw64