Skip to content

Add Soong build to CI#1456

Open
pablo-msft wants to merge 3 commits into
mainfrom
user/pablo/soong
Open

Add Soong build to CI#1456
pablo-msft wants to merge 3 commits into
mainfrom
user/pablo/soong

Conversation

@pablo-msft
Copy link
Copy Markdown
Contributor

Asked Copilot to add a Soong build.

@pablo-msft pablo-msft requested a review from a team as a code owner May 28, 2026 08:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new build-soong CI job to .github/workflows/build-android.yml that attempts to build the existing Android.bp target libmaesdk against a minimal AOSP (android-14) tree synced via repo, alongside the existing Gradle-based Android job.

Changes:

  • Adds a build-soong job on ubuntu-latest that installs AOSP build prerequisites and the repo tool.
  • Performs a trimmed repo sync of build/soong, build/blueprint, build/make, and a handful of prebuilts/* paths, with caching keyed on runner.os.
  • Symlinks the checked-out SDK into aosp/vendor/microsoft/cpp_client_telemetry and runs lunch aosp_arm64-eng + m libmaesdk with SOONG_ALLOW_MISSING_DEPENDENCIES=true.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +130 to +137
repo sync -j$(nproc) --current-branch --no-clone-bundle \
build/soong \
build/blueprint \
build/make \
prebuilts/bazel/common \
prebuilts/build-tools \
prebuilts/go/linux-x86 \
prebuilts/clang/host/linux-x86
Comment on lines +146 to +147
source build/envsetup.sh
lunch aosp_arm64-eng
uses: actions/cache@v4
with:
path: aosp
key: aosp-soong-android14-bazel-${{ runner.os }}
Comment on lines +84 to +85
build-soong:
runs-on: ubuntu-latest
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.

2 participants