-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
bash missing in windows-2019 image version 20210309.0 #2961
Comments
Hi @ned14! |
Have you inverted the bug report?
https://github.com/actions/virtual-environments/blob/win19/20210309.0/images/win/Windows2019-Readme.md says The GA linked to is 100% Windows, building Windows binaries on Windows to be CIed on Windows. Yes it calls If you're saying that I need to install a WSL to get Edit: What happened to the bash which msysgit installs on Windows? I don't care which bash it is, so long as it is called |
@ned14 it looks like both win16 and win19 steps use gitbash (which is mentioned in the docs):
|
Probably the PATH changes during the execution, and after that
|
Hi @ned14, as @miketimofeev mentioned above, most likely the changes of PATH are reason of fail. As workaround you can add the step to rename wsl bash:
|
That was a very useful reply in fact. I now have the CI ctest script Thanks for your help! |
Description
Calling
bash
from within cmake on windows-2019 image version 20210309.0 yields:See https://github.com/ned14/llfio/pull/70/checks?check_run_id=2132363419
The exact same script works fine in the windows-2016 image. See https://github.com/ned14/llfio/pull/70/checks?check_run_id=2132363324
Area for Triage:
Containers
Question, Bug, or Feature?:
Bug
Virtual environments affected
Image version
20210309.0
Expected behavior
bash to be callable from within a cmake script.
Actual behavior
Not the error listed above.
Repro steps
You can retrigger the build on the PR at ned14/llfio#70 to diagnose the situation and/or check the fix.
The text was updated successfully, but these errors were encountered: