Skip to content

feat: add windows arm (aarch64-pc-windows-msvc) build#61

Merged
dsherret merged 1 commit into
mainfrom
feat-windows-arm
Jun 23, 2026
Merged

feat: add windows arm (aarch64-pc-windows-msvc) build#61
dsherret merged 1 commit into
mainfrom
feat-windows-arm

Conversation

@dsherret

Copy link
Copy Markdown
Member

Adds a native Windows ARM64 build.

What changed

  • .github/workflows/ci.ts — added the aarch64-pc-windows-msvc target on the windows-latest runner. It's cross-compiled from x64 (MSVC ships the ARM64 cross tools), with a Setup (Windows aarch64) step that runs rustup target add aarch64-pc-windows-msvc. No tests run on it (can't execute ARM64 on the x64 runner). Regenerated ci.generated.yml, which fans out into the matrix, pre-release zip, upload-artifact, and draft-release file/checksum lists.
  • scripts/create_plugin_file.ts & scripts/create_npm_packages.ts — added the windows-aarch64 platform.

Notes

  • No @dprint/automation bump needed — windows-aarch64 (→ aarch64-pc-windows-msvc.zip, npm win32-arm64) has been supported there all along; the scripts already import 0.12.2.
  • The new npm sub-package name will be @dprint/exec-win32-arm64 (first published on the release that includes this).

Verification

  • Scripts type-check against @dprint/automation@0.12.2.
  • dprint check passes on all changed files.

Cross-compiled on the x64 windows runner (MSVC ships the ARM64 cross
tools), so no tests run on it. Adds the windows-aarch64 platform to the
plugin.json and npm package scripts; @dprint/automation already supports
it (win32-arm64 / aarch64-pc-windows-msvc.zip).
@dsherret dsherret merged commit b87aa0f into main Jun 23, 2026
16 checks passed
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