Skip to content

Try ubuntu-latest for CI (experiment)#319

Merged
erikdarlingdata merged 1 commit intodevfrom
chore/ci-try-ubuntu-latest
May 9, 2026
Merged

Try ubuntu-latest for CI (experiment)#319
erikdarlingdata merged 1 commit intodevfrom
chore/ci-try-ubuntu-latest

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

Switch runs-on: windows-latestruns-on: ubuntu-latest for the CI workflow as an experiment. Linux runners are ~2× faster than Windows runners on GitHub-hosted infrastructure.

Nothing in PlanViewer.sln is Windows-only:

  • PlanViewer.Core, .App, .Cli — net8.0, cross-platform
  • PlanViewer.Web — Blazor WASM, builds on Linux with wasm-tools
  • PlanViewer.Core.Tests — xunit on net8.0
  • PlanViewer.App.csproj already declares SkiaSharp.NativeAssets.Linux so SkiaSharp's native bits are present on Linux

PlanViewer.Ssms (legacy net472 + VSSDK) is intentionally excluded from PlanViewer.sln and is not built in CI, so it doesn't gate this change.

Decision rule

  • ✅ CI green on Linux → keep
  • ⚠️ CI red but the failure is a clean small fix (e.g., a missing native package reference) → fix forward
  • ❌ CI red and the fix is invasive → revert this PR. The cache + solution-build wins from Speed up CI with NuGet cache + solution-wide build #317 remain regardless.

Test plan

🤖 Generated with Claude Code

Linux runners are ~2x faster than windows-latest on GitHub-hosted.
None of the projects in PlanViewer.sln are Windows-only:
- PlanViewer.Core, .App, .Cli are net8.0 cross-platform
- PlanViewer.Web is Blazor WASM, builds on Linux with wasm-tools
- PlanViewer.Core.Tests is xunit on net8.0
- PlanViewer.App already references SkiaSharp.NativeAssets.Linux

PlanViewer.Ssms (legacy net472 + VSSDK) is not in the solution and
is not built in CI; it stays Windows-only via its own workflow if
one exists.

If anything fails on Linux that's not flaggable as a small fix,
revert this PR and we keep the cache + solution-build wins from #317.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 4e36226 into dev May 9, 2026
2 checks passed
@erikdarlingdata erikdarlingdata deleted the chore/ci-try-ubuntu-latest branch May 9, 2026 16:55
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