Something is wrong with the chocolatey installed version of gcc on the windows-2019 image

GCC installed via Chocolatey:

GCC installed via scoop:

On windows-2019, Compiling with the Chocolatey GCC causes the tests to fail, compiling with the scoop GCC causes the tests to succeed. On windows-2016, the tests succeed regardless of the package manager used to install gcc.

I’m pretty sure that a dll is not found when running the test executables so I suspect there’s either a missing dll or a directory that’s not correctly added to the PATH by chocolatey. Unfortunately these issues are hard to debug with no RDP access to the Windows machines.

As GCC is installed by default on the Windows images, I’m reporting the issue here since I expect it to work if it’s installed by default.

1 Like

Maybe you could try my chocolatey action: