Windows runner - How to configure Powershell to handle long (12k) input strings #1122
Unanswered
wallybarnum
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
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.
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.
Is there a way to configure the windows server host in GitHub actions to have its powershell accept larger input strings?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions