feat: add android (Termux) builds#59
Merged
Merged
Conversation
Adds aarch64-linux-android and x86_64-linux-android targets, built with cross's built-in NDK images. dprint-plugin-exec is a plain process binary, so this is purely build + distribution wiring: CI matrix entries, release artifacts, and the android-aarch64/android-x86_64 platforms in the plugin.json and npm package scripts. Bumps @dprint/automation to 0.12.2 for the new android platform variants.
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
aarch64-linux-androidandx86_64-linux-androidtargets, resolving the Termux request (dprint/dprint#972).What changed
dprint-plugin-execis a plain process binary (no embedded wasmer), so this is purely build + distribution wiring — no source changes:.github/workflows/ci.ts— added the two android targets ascross: trueprofiles (cross's built-in NDK images). bionic libc, so there's only one variant per arch (no gnu/musl split). Regeneratedci.generated.yml, which fans out into the matrix, pre-release zip steps, upload-artifact steps, build-job checksum outputs, and the draft-release file/checksum lists.scripts/create_plugin_file.ts&scripts/create_npm_packages.ts— bumped@dprint/automationto0.12.2and added theandroid-aarch64/android-x86_64platforms.Notes
@dprint/automation@0.12.2(already published to JSR), which adds theandroid-*Platformvariants. The platform keys match the runtime keys added to the dprint CLI's process-plugin resolver (os = "android"+ arch).Verification
@dprint/automation@0.12.2.dprint checkpasses on all changed files.