Skip to content

Pack the CLI separately for each platform - #91

Merged
mahach666 merged 2 commits into
mainfrom
codex/cli-platform-packages
Nov 26, 2026
Merged

mahach666 merged 2 commits into
mainfrom
codex/cli-platform-packages

Conversation

@mahach666

@mahach666 mahach666 commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

What changes and why

Package IOViewer.Cli as a framework-dependent .NET tool with one net8.0 build and roll-forward to a newer runtime. The .NET 10 SDK selects the Windows x64, Linux x64 or macOS ARM64 package. Other supported platforms can use the portable fallback. The release publishes these packages before the entry point package.

The local packages measure 11.0 MB for Windows x64, 10.0 MB for Linux x64 and 12.8 MB for macOS ARM64, plus a 38 KB entry point package. The current release is 215.9 MB. The package still includes SkiaSharp, SQLite and all format readers.

How it was checked

  • Built IOViewer.slnx in Release with zero warnings. dotnet test IOViewer.slnx -c Release --no-build passed 210 tests on each target framework, with one test skipped on each.
  • Ran the platform pack, dependency checks, all four package-check cases, and tools/pack-release.ps1 on Windows.
  • Installed the Windows package from a local NuGet feed. The installed CLI exported a synthetic LGS with four colored points, measured intensity and a JPEG panorama.
  • The installed Windows package also ran with only .NET 10 available and produced a byte-for-byte match with the public 0.4.1 JSON for the full BLK2GO input, including RGB, intensity and 100 panoramas.
  • CI runs the same install and export on Linux x64, macOS ARM64 and Intel Mac. The Intel runner checks the portable fallback.
  • The generated HTML and JSON formats are unchanged. The fixture generator uses synthetic data only.

@mahach666
mahach666 merged commit e363de9 into main Nov 26, 2026
7 checks passed
@mahach666 mahach666 mentioned this pull request Nov 26, 2026
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