feat: add windows arm (aarch64-pc-windows-msvc) build#61
Merged
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a native Windows ARM64 build.
What changed
.github/workflows/ci.ts— added theaarch64-pc-windows-msvctarget on thewindows-latestrunner. It's cross-compiled from x64 (MSVC ships the ARM64 cross tools), with aSetup (Windows aarch64)step that runsrustup target add aarch64-pc-windows-msvc. No tests run on it (can't execute ARM64 on the x64 runner). Regeneratedci.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 thewindows-aarch64platform.Notes
@dprint/automationbump needed —windows-aarch64(→aarch64-pc-windows-msvc.zip, npmwin32-arm64) has been supported there all along; the scripts already import0.12.2.@dprint/exec-win32-arm64(first published on the release that includes this).Verification
@dprint/automation@0.12.2.dprint checkpasses on all changed files.