I am building a Make project with C and C++ files using Make for Windows as the make.exe and a gcc for arm toolchain.
When it comes time to link, the resultant command to gcc and the linker is a little over 12k chars long due to the number of object files and their paths.
The powershell in the windows server VMware used by GitHub actions truncates my long linker command input.
Is there a way to configure the windows server host in GitHub actions to have its powershell accept larger input strings?
Tests I’ve run:
If I build it on a Windows 11 desktop and powershell calling Make for windows, it builds fine.
If I build this on an Ubuntu hosted runner and its built in make with my gcc toolchain, it builds fine.
But, if I build it on a Windows Server-latest runner in git hub actions, specifying powershell and calling Make for Windows, it doesn’t build and its clear that the command is being truncated.
Exact same makefile in all three cases.
Thanks.
Wally Barnum is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.