Repository navigation
Windows release zips, Scoop and winget manifests, version 0.2.0 - #4
Merged
Merged
Conversation
…oes on the runner
Kernel-Hunter
marked this pull request as ready for review
October 11, 2026 16:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This makes the Windows CLI something you can download and run without Swift installed.
On a v* tag, release.yml now also builds mudroom.exe in release mode on windows-latest (x86_64) and windows-11-arm (arm64). Once the macOS job has created the release, it attaches mudroom--windows-.zip and a .sha256 for each. The macOS job itself is unchanged.
Each zip holds a folder with mudroom.exe, the Swift runtime DLLs and the VC++ runtime: 15 DLLs, about 29 MB zipped. scripts/windows-package.ps1 builds the list by following dumpbin /dependents from the exe, so nothing is hard-coded. Static linking doesn't work with this toolchain. --static-swift-stdlib builds, but the exe still imports swiftCore.dll, and -Xswiftc -static-stdlib fails because the Windows SDK has no static libraries.
A reusable workflow, windows-zip.yml, builds both zips on every PR. It then unzips each one on a fresh runner that never had Swift installed and runs --version, --help and the existing smoke test. It also renames swiftCore.dll and checks that the exe stops starting, so we know it loads the copy in the zip. The release workflow runs the same jobs before it uploads anything.
windows-latest has nested virtualization, so WSL 2 and a Podman machine run there. The new windows-sandbox job runs the x86_64 zip against a Podman machine: network check in open mode, then a session running sh -c 'echo hi > hello.txt', then diff and apply. Locked mode isn't covered. Its network check hangs after "checking locked network with podman...", and WSL mirrored networking isn't supported on the runner (0x803b0015). The arm64 runner can't run WSL or a Hyper-V VM at all.
There's a Scoop manifest in packaging/scoop/mudroom.json and a winget manifest set in packaging/winget/. Their hashes are zeros until the release exists; scripts/update-windows-manifests.sh 0.2.0 fills them in from the release.
The README gets a Windows install section, an updated requirements table and an updated list of Windows limits.
The version is now 0.2.0 in Sources/mudroom/Version.swift, which is where the app's Info.plist gets its version at build time. The Homebrew cask stays at 0.1.1 because its sha256 can only be filled in after the release (scripts/update-cask.sh 0.2.0 --remote).
Still to do by hand: