ci(sdk_v2): add Android C++ core build pipeline - #1068
Draft
sheetalarkadam wants to merge 1 commit into
Draft
Conversation
Combines the Android native CI pipeline (#954) with the versioned GenAI Android AAR cache fix (#960) it depended on, into a single change for review. Pipeline (.pipelines/v2/templates): - Add Android build stages to the native pipeline, publishing cpp-native-android-<abi> artifacts (arm64-v8a, x86_64). - Build-only; emulator tests are opt-in via runEmulatorTests on the x86_64 leg. - Stage all four .so files (libfoundry_local, libonnxruntime, libonnxruntime-genai, libmat); a readelf DT_NEEDED-closure check fails the stage if a staged library needs a build-produced .so that wasn't staged. GenAI AAR cache (sdk_v2/cpp): - Scope both the archive and the extracted tree by version so a version bump fetches its own copy and cannot collide with a stale cache. - Newer GenAI versions target libmat.so. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a5c2fc55-3b22-46d7-a22c-63beaa5720ae
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Combines the Android native CI pipeline (#954) with the versioned GenAI Android AAR cache fix (#960) it was stacked on, into a single change targeting
mainso it can be reviewed as one unit. Supersedes #954 and #960.Pipeline (
.pipelines/v2/templates)cpp-native-android-<abi>artifacts (arm64-v8a,x86_64).runEmulatorTestson the x86_64 leg..sofiles are staged (libfoundry_local.so,libonnxruntime.so,libonnxruntime-genai.so,libmat.so), unlike desktop legs which stage onlylibfoundry_local.so. Desktop consumers get ORT/GenAI out of band (pip / NuGet); an Android consumer has no such channel. AreadelfDT_NEEDED-closure check fails the stage if a staged library needs a build-produced.sothat wasn't staged.GenAI AAR cache (
sdk_v2/cpp)libmat.so.Validation
Both Android
.soartifacts build cleanly from this branch's tree via the canonicalbuild.py(arm64-v8aandx86_64, Release).