The Unix code path (UnixProcessGroup, Libc) is exercised in CI on
ubuntu-latest, but you can also run the suite locally against a Linux
container — useful when changing native interop or shutdown semantics.
- Rancher Desktop (or Docker Desktop) with the
dockerd/ moby engine enabled sodockeris onPATH - PowerShell 7+
pwsh ./scripts/test-linux.ps1The script mounts the repo into mcr.microsoft.com/dotnet/sdk:10.0 and runs
dotnet build + dotnet test. The host's bin/ and obj/ folders are
shadowed inside the container with anonymous volumes, so the Linux build
neither sees the Windows IDE artifacts nor writes back into the host tree.
A named volume (processkit-nuget) caches NuGet packages between runs.
Useful switches:
pwsh ./scripts/test-linux.ps1 -Filter "FullyQualifiedName~TerminateAll"
pwsh ./scripts/test-linux.ps1 -Configuration Debug -Rebuild