Skip to content

Commit

Permalink
.github/workflows/main.yml: force mingw32 test to Windows 2019.
Browse files Browse the repository at this point in the history
Actions' windows-latest is equipped with newer mingw, which causes
linking problems in mingw32 debug builds. See #677 for details.
  • Loading branch information
dot-asm committed Jul 10, 2022
1 parent 61faa9e commit f91654a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f91654a

Please sign in to comment.