Skip to content

Add Windows build support#1

Merged
fatbob01 merged 2 commits into
developfrom
feature/windows-build
May 21, 2026
Merged

Add Windows build support#1
fatbob01 merged 2 commits into
developfrom
feature/windows-build

Conversation

@fatbob01
Copy link
Copy Markdown
Owner

Summary

  • Switches the build job from ubuntu-latest to windows-latest so the net8.0-windows TFM (required for Radarr.Windows.dll) can be compiled
  • Uncomments the win-x64 / win-x86 packaging lines in build.sh that were previously disabled
  • Publishes a build_windows artifact from the build job
  • Downloads Windows artifact in the release job and packages it as windows-core-x64.zip / windows-core-x86.zip alongside the existing Linux tarballs
  • Adds both zip files to the GitHub release

No impact on Linux/Docker users

.NET 8 cross-compiles all Linux RIDs from the Windows runner identically to before. The Docker build job and Linux tarballs are unchanged.

Test plan

  • Trigger a manual workflow run on this branch and verify the build job completes on windows-latest
  • Confirm build_windows artifact is produced and contains win-x64 and win-x86 folders
  • Confirm build_linux artifact still contains all Linux RIDs
  • On a push to develop, confirm the release includes .windows-core-x64.zip and .windows-core-x86.zip
  • Confirm Docker image still builds and pushes successfully

Generated with Claude Code

fatbob01 and others added 2 commits May 21, 2026 09:25
- Switch build job runner from ubuntu-latest to windows-latest so the
  net8.0-windows TFM (needed for Radarr.Windows.dll) can be compiled
- Uncomment win-x64/win-x86 PackageTests and Package calls in build.sh
- Publish win-x64 test artifact and build_windows artifact from build job
- Download Windows artifact in release job and zip it alongside Linux tarballs
- Include windows-core-x64/x86 zips in GitHub release upload

Linux tarballs and Docker image are unaffected; .NET 8 cross-compiles all
Linux RIDs from the Windows runner identically to before.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4.15.1 has a known moderate severity vulnerability (GHSA-9j88-vvj5-vhgr)
which fails the build because TreatWarningsAsErrors=true promotes NU1902
to a hard error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fatbob01 fatbob01 merged commit be8a609 into develop May 21, 2026
11 checks passed
@fatbob01 fatbob01 deleted the feature/windows-build branch May 21, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant