Add Android ICU4C cross-compile packaging and CI - #26
Draft
hahn-kev-bot wants to merge 5 commits into
Draft
Conversation
Enables building SIL-modified ICU for Android ABIs and verifies the APK-ready output contract in FW Branch CI. Co-authored-by: Cursor <cursoragent@cursor.com>
Bash unsets every name in a multi-assignment local before applying values, so referencing major in the same statement failed after the host build. Co-authored-by: Cursor <cursoragent@cursor.com>
Only packaging and ICU source are needed for the cross-compile, so skip full history and unrelated trees. Co-authored-by: Cursor <cursoragent@cursor.com>
Packs Android ICU natives and data for MAUI consumers, uploads the nupkg on CI, and publishes to nuget.org on fw pushes. Co-authored-by: Cursor <cursoragent@cursor.com>
GitHub rejects upload-artifact@v2 and cache@v2; also refresh checkout, setup-msbuild, and GITHUB_OUTPUT. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Building ICU for Android so we can use it in icu-dotnet. Also had to update the other workflows as they've broken in the last few years.
AI summary
Summary
build-android.sh/build-android.ps1to cross-compile this checkout's SIL-modified ICU4C for Android (x86_64,arm64-v8a) with NDK tooling and APK-ready.so/.datlayout.icu4c/packaging/README.android.md(linked from the top-level README).android-buildjob to FW Branch CI that installs NDK 27, builds both ABIs, and verifies the expected output files.Test plan
android-buildis green on this PRbash icu4c/packaging/build-android.sh --arch=x86_64locally with a Linux NDKMade with Cursor
This change is