Skip to content

Add Windows support#54

Open
rendro wants to merge 3 commits intomainfrom
windows-support
Open

Add Windows support#54
rendro wants to merge 3 commits intomainfrom
windows-support

Conversation

@rendro
Copy link
Owner

@rendro rendro commented Feb 8, 2026

Summary

  • Add platform-conditional data directory (%LOCALAPPDATA%\sediment\data on Windows, ~/.sediment/data unchanged on Unix)
  • Fix write_config_atomic() for Windows (rename fails if destination exists)
  • Add x86_64-pc-windows-msvc target to release workflow with .zip packaging
  • Add windows-latest to CI test matrix
  • Add PowerShell install script (install.ps1)
  • Update README with Windows platform info and install instructions

Test plan

  • cargo fmt --all -- --check passes
  • cargo clippy --all-targets -- -D warnings passes
  • cargo test passes (80 passed, 27 ignored)
  • central_db_path() still returns ~/.sediment/data on Unix
  • CI validates Windows build on this PR

- Platform-conditional data directory: Unix stays ~/.sediment/data,
  Windows uses %LOCALAPPDATA%\sediment\data
- Fix atomic rename in write_config_atomic() for Windows
- Add x86_64-pc-windows-msvc target to release workflow with zip packaging
- Add windows-latest to CI test matrix
- Add PowerShell install script (install.ps1)
- Update README with Windows platform info and install instructions
The verbose output generates large runner diagnostic logs that fill
the ubuntu-latest runner's disk during test compilation.
The test binary linking runs out of disk space on ubuntu-latest runners.
Remove unused pre-installed software (.NET, Android SDK, GHC) to reclaim
space. Also combine build+test into a single cargo test step.
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