Skip to content

Support WSLv2 on Win images #7749

@wolf99

Description

@wolf99

Tool name

WSL

Tool license

Built in Windows feature

Add or update?

  • Add
  • Update

Desired version

V2

Approximate size

No response

Brief description of tool

V2 has been the de facto version for Windows for some time. There are many, differences, improvements and fixes that v1 does not have.
From other issues I see the reason this was not previously supported was that it was not possible with the Azure VMs used for the runners.
However I now also see that Ubuntu have published a actions for use with WSL on Azure self hosted runners, so hoping there has been some change in the Azure side that now allows this to be looked at again by GitHub?
The Ubuntu article is here, with links to action repos and examples: https://ubuntu.com/blog/improved-testing-ubuntu-wsl

URL for tool's homepage

No response

Provide a basic test case to validate the tool's functionality.

No response

Platforms where you need the tool

  • Azure DevOps
  • GitHub Actions

Runner images where you need the tool

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • Windows Server 2019
  • Windows Server 2022

Can this tool be installed during the build?

Windows allows commands for this, so assume same will be the case for win images in runners

Tool installation time in runtime

No response

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions