-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL/Windows/Git Bash/Cygwin confusion #19
Comments
I'm not a Windows user and I don't know how to communicate effectively with Windows users. 😆 Could you submit a PR with suggested improvements?
OK. What are the implications of this? Is there then no way to test WSL in GitHub Actions?
Right. I believe that for the platforms that we don't support we print an error message. If we want to support Cygwin, somebody with a Cygwin setup should develop it. Can we test Cygwin in CI?
The install script only targets POSIX-compatible systems: Linux, Mac, and WSL should work. If we want to provide a Windows-compatible (powershell?) installation script, then this should be written by someone that has a Windows machine. But I personally don't see any need for it, because folks can just use WSL. |
👍🏼 will do
I think so? https://stackoverflow.com/a/75500329
If that's the case, we can simply remove all Windows-relevant stuff, as they are nowhere related to WSL. The current Windows support assumes vanilla windows+git bash (which doesn't come with vanilla windows). I can make a powershell one later, if that's needed? |
My goal hasn't been to support Windows + Git Bash but to support WSL. I'm hesitant to support the development of a powershell script because that will double our maintenance efforts and offers no clear advantage since Windows users can simply be instructed to use WSL. How do we test WSL in CI? |
I suppose we should use this? https://github.com/marketplace/actions/setup-wsl There is, of course value in supporting Git Bash, but my finding was that it didn't deal well with the symlinks, so I had to create these silly scripts instead... |
If we want to make 100% sure that it works on WSL1, we can use https://github.com/marketplace/actions/setup-wsl |
Would the current script create symlinks in WSL? Or would it use the generated scripts? |
Symlinks |
So the workaround I created is for Git Bash? Not WSL?
…On Thu, Aug 31, 2023 at 5:14 PM axmmisaka ***@***.***> wrote:
Symlinks
—
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEYD47DPZKMTK64SIAEQQIDXYESGLANCNFSM6AAAAAA4FR6XK4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes, on WSL the OS_TYPE is |
Some issues in the current scripts:
installation/install.sh
Lines 53 to 54 in 819ce99
(We are installing Windows, not WSL tools; powershell is cross-platform, but used extensively on Windows; however here we are using bash )
windows-latest
on GH Actions uses Git bash as bash. Git bash has$OSTYPE=msys
$OSTYPE=cygwin
. We don't support it at all.lfc
uses powershell on Windows. The current way of creating bash script will simply fail under powershell.The text was updated successfully, but these errors were encountered: