-
Notifications
You must be signed in to change notification settings - Fork 66
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 10 linux subsystem support #1295
Comments
It is now possible to install linux subsystem on preview builds of Windows Server 2016: https://msdn.microsoft.com/en-us/commandline/wsl/install-on-server |
Hi Denis, this OS is still insider preview as I understand. Actually we are going to support Linux VMs for build in near future, so you could run Windows and Linux builds side-by-side. Would it be better alternative? |
I'm interested in testing our command line tool on WSL. I already have CI set up to test it on Linux. |
This will be available when this become part of generally available Windows Server. Does anyone knows if this is going to be only with "Core" SKU or with UI-based version too? Another option (if you need this ASAP) is to you own build worker image with private build cloud feature, but this feature is available for Premium accounts only right now. |
Appveyor now supports Server 2016. Is it time to review this request? |
Current build is 14393 and it would be awesome if there be a possibility to update it to, at least, 16215. |
Is there a workaround? Is it possible to install WSL as part of the build? |
@felixfbecker what's business case for having WSL on build workers? Could you please elaborate? |
@FeodorFitsner, for me at least, the business case for WSL is the same as that for supporting Linux docker containers on Windows: I am developing a client SDK that needs to run on Linux and Windows, but the server only runs on Linux. In order to run integration tests for the client on Windows, I need to be able to spin up a server instance, using either WSL or a Linux docker container instance. Solving either of these two issues would solve my use case. |
Ah, nice, this is what I wanted to hear 😄 |
@FeodorFitsner In my case, I want to test that a CLI works correctly inside WSL. Actual Linux CI wouldn't solve this (otherwise I could just use Travis). |
Cool, will be working on Windows 10 support later this year. |
I would very much like to have this. We explicitly target the engineering and scientific research communities. Most of our users work remotely on large Linux clusters but when developing locally on their laptop, they're usually using Windows on a machine issued by their organization. As such, some of them chose to just natively use our tools in a Windows development environment while others just use WSL in order to continue to use a familiar preferred environment. It effectively removes much of the use case for Cygwin and/or MinGW environments. So in short, having WSL available on the build workers is useful because it's a widely used environment by my customers. |
Another use case here: Microsoft abandoned the Windows port of Redis server (MS Open Tech has shut down), so for our tests in StackExchange.Redis we're unable to test any feature since 3.0 (and even test those reliably since the port isn't 100%). Locally, we get around this by using WSL to run the latest version without any issues and still test against |
@NickCraver we offer "premium" build VMs with Docker and nested virtualization enabled, so you can spin off Linux containers inside Windows build: https://ci.appveyor.com/project/appveyor-tests/docker-ce That offer is not free for OSS though, but will cost $50/job/month. |
@FeodorFitsner I don't think that would solve our case - we want to test applications specifically WSL to make sure they run properly in WSL, to make sure users/customers can run the application in WSL (which is not a given just because it runs in Linux, because WSL has many caveats/weirdnesses). |
OK, the Windows 10 workers is the way to go. |
Is there any progress on the WSL support? |
@FeodorFitsner any progress on this? Being able to test against WSL would be very useful for my project WinFsp, because WinFsp file systems can now be mounted in WSL. I would like to add tests to regularly test this functionality via AppVeyor CI. It is my understanding that Windows Server supports WSL (as mentioned earlier) and I could perhaps write scripts to enable/install WSL, but it would be even better if the functionality came preinstalled. |
We recently introduced Note that this image is running on Azure so be prepared for 3-4 minutes This image is available per request for now. @billziss-gh it is enabled for you. If anybody else want to try this image, please ping us here or send a email to team@appveyor.com |
@IlyaFinkelshteyn thank you, much appreciated! |
@IlyaFinkelshteyn I'd like to try out the WS2019 image, if possible. I've been meaning to get a WSL CI going for reflex-platform, for ages, since we depend on nix which doesn't run natively on Window. Some people have reported success with our project under WSL, but because there's far less users, it's hard to be aware when WSL in particular breaks, or to claim any kind of support for it. |
@alexfmpe what is your AppVeyor account? |
|
@alexfmpe OK, it has been enabled |
Yop, I see it now. Thanks a lot |
@IlyaFinkelshteyn interested too to test! Thanks a lot! |
@juju4 sure, enabled :) |
@IlyaFinkelshteyn please could you enable for my AppVeyor account also? Same username as here. Many thanks! |
@xeijin done |
any hope of getting the |
@stephengroat sure, enabled. Let us know if you have any issues. |
Is it still possible to get the |
@patrick330602 sure, done. |
@IlyaFinkelshteyn can you please enable WSL for the ornladios/adios2 account / project that I admin? |
Hey @chuckatkins, we've just deployed an updated to |
I'm having trouble actually getting anything to run under wsl: https://ci.appveyor.com/project/TheLastProject/pext/builds/28051440#L178
Am I doing something wrong? Isn't just running wsl supposed to work? |
Ah, prefixing it wish |
Oh, good to know, thanks for the update! |
Can update docker CE to 19.03 on |
This can be closed now that WSL is part of the Visual Studio 2019 environment, right? |
Exactly, thanks! |
this is also called WSL or Bash on Windows.
The text was updated successfully, but these errors were encountered: