Skip to content

feat: add Windows x86_64 binary build and PowerShell install script#133

Merged
mergify[bot] merged 2 commits intomatrixorigin:mainfrom
aptend:feat/add-win-bin
Mar 25, 2026
Merged

feat: add Windows x86_64 binary build and PowerShell install script#133
mergify[bot] merged 2 commits intomatrixorigin:mainfrom
aptend:feat/add-win-bin

Conversation

@aptend
Copy link
Copy Markdown
Collaborator

@aptend aptend commented Mar 25, 2026

What type of PR is this?

  • feat (new feature)
  • fix (bug fix)
  • docs (documentation)
  • style (formatting, no code change)
  • refactor (code change that neither fixes a bug nor adds a feature)
  • perf (performance improvement)
  • test (adding or updating tests)
  • chore (maintenance, tooling)
  • build / ci (build or CI changes)

Which issue(s) this PR fixes

N/A — new platform support

What this PR does / why we need it

Add Windows x86_64 binary support to the release pipeline and provide a native PowerShell install script.

Changes

.github/workflows/release-rust.yml

  • Add x86_64-pc-windows-msvc target to the build matrix (native build on windows-latest)
  • Split Package step into unix/windows variants — Windows produces .zip with memoria.exe
  • Include .zip files in checksum generation and release assets

scripts/install.ps1 (new)

  • Native PowerShell install script for Windows users
  • Downloads .zip from GitHub Releases, verifies SHA256 checksum
  • Installs to $env:LOCALAPPDATA\Programs\memoria by default
  • Automatically adds install directory to user PATH
  • Supports -Tool/-ApiUrl/-Token params for auto-init (also via env vars for piped irm | iex usage)

@XuPeng-SH XuPeng-SH self-requested a review March 25, 2026 14:09
mergify Bot added a commit that referenced this pull request Mar 25, 2026
@mergify
Copy link
Copy Markdown

mergify Bot commented Mar 25, 2026

Merge Queue Status

This pull request spent 41 minutes 45 seconds in the queue, including 41 minutes 34 seconds running CI.

Required conditions to merge

Reason

The merge conditions cannot be satisfied due to failing checks

Failing checks:

Hint

You may have to fix your CI before adding the pull request to the queue again.
If you update this pull request, to fix the CI, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio queue comment.

@aptend
Copy link
Copy Markdown
Collaborator Author

aptend commented Mar 25, 2026

@mergify queue

@mergify
Copy link
Copy Markdown

mergify Bot commented Mar 25, 2026

Merge Queue Status

This pull request spent 3 minutes 19 seconds in the queue, including 3 minutes 8 seconds running CI.

Required conditions to merge

Reason

The merge conditions cannot be satisfied due to failing checks

Failing checks:

Hint

You may have to fix your CI before adding the pull request to the queue again.
If you update this pull request, to fix the CI, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio queue comment.

@mergify mergify Bot added the queued label Mar 25, 2026
mergify Bot added a commit that referenced this pull request Mar 25, 2026
@mergify mergify Bot removed the dequeued label Mar 25, 2026
@mergify mergify Bot merged commit 04ab5b1 into matrixorigin:main Mar 25, 2026
5 checks passed
@mergify
Copy link
Copy Markdown

mergify Bot commented Mar 25, 2026

Merge Queue Status

  • Entered queue2026-03-25 15:13 UTC · Rule: main
  • Checks skipped · PR is already up-to-date
  • Merged2026-03-25 15:14 UTC · at cd4fde691e4112d3ec1cc12270dd01d76b880579

This pull request spent 7 seconds in the queue, with no time running CI.

Required conditions to merge

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.

2 participants