-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
Windows - switch to MSYS2 bash shell ? #63
Comments
So the change is to use Looks good from a quick look, I'll look more at it later. |
Essentially. I ended looking at both Toolkit/core code and the runner C# code. I would state that when dealing with The core code passes the info to the C# runner via It was also messed up by the call to vcvars.bat in the mswin build code, which modifies Any the last run used the MSYS2 bash shell for everything Windows except 2.2 & 2.3, which use the MSYS bash shell. MSYS2 in the path for all the commands it has available, and its
I need to adjust the workflow, rebase, squash, etc. I'll submit later today/tonite (I'm -0500, US CDT). I just wanted to see if you had any issues, but I didn't expect any. My main goal was to see if people could use either Bash or PowerShell Core code for scripting with all platforms. |
Yes, that would be great! |
This seems to work fine now, thanks! |
I've got the MSYS2 bash shell running as the default in my fork.
Using Reline, I set up a workflow where all jobs ran tests both using pwsl (PowerShell Core) and MSYS2 bash. All jobs (Ubuntu, macOS, Win) passed .
Bundler's tests will only run using bash, and they also pass, see https://github.com/MSP-Greg/rubygems/actions/runs/131762536
The one issue is we need to re-arrange things so there is some code that runs for all Rubies on Windows, as it needs to run for Windows JRuby jobs.
The code is in the commit MSP-Greg@b2da215d2df
Thoughts?
EDIT:
Haven't implemented it yet, but this issue is about ENV['Path'] handling. I think the best way to handle it is below:
The text was updated successfully, but these errors were encountered: