You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: improve setup-wsl action to support native Windows testing
Instead of building inside WSL on the host disk, we should build inside
the WSL file system as that is significantly faster and avoids the
interop bottleneck. For this, we naively copy over the repository after
checkout into WSL; and operate from in there.
Pending TODO is how we can properly cache contents inside WSL; as the
cache action currently does not seem to pick it up properly.
Copy file name to clipboardExpand all lines: github-actions/setup-wsl/action.yml
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ outputs:
36
36
description: UNC Windows path pointing to the WSL file system root.
37
37
value: \\\\wsl.localhost\Debian
38
38
repo_path:
39
-
description: Path to the copied repository directory
39
+
description: Path to the copied repository directory (as Unix wsl path)
40
40
value: ${{steps.disk_path.outputs.repo}}
41
41
42
42
runs:
@@ -46,7 +46,7 @@ runs:
46
46
# Note: `memory` by default is 50% of the Windows host machine. We want to try
47
47
# a higher percentage to leverage more of the GitHub Windows machines.
48
48
# They have 16GB by default. See: https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners.
0 commit comments