Repository navigation
ci: analyze //android/... for linux_arm64 in pr-check - #14513
Conversation
A new android-linux-arm64 pr-check set runs bazel build --nobuild for linux_arm64 over //android/... when a PR touches android/, core/platforms/ or cc/, so an Android target that is not skipped there fails the PR instead of the release cell. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The Generated by Claude Code |
|
The Generated by Claude Code |
|
Merge train: dropped, 🤖 Generated with Claude Code |
host_program_test bans starting git by name, and the git diff path guard was the set's only reason to. The set now always analyzes //android/... for linux_arm64, which also catches breaks that come from outside android/, core/platforms/ and cc/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fixed in d4713fa. I removed the Generated by Claude Code |
|
Fixed: 🤖 Generated with Claude Code |
Closes #14438
Adds an
android-linux-arm64set topr-check. It runsbazel build --nobuild --keep_going --lockfile_mode=error --platforms=//tools/platforms:linux_arm64 --host_platform=//tools/platforms:linux_arm64 //android/...on every PR. An Android target that is not skipped on linux_arm64 now fails the PR instead of the release cell. The set analyzes only, about 40 s on CI with the remote cache.tools/ci/producers/src/pr_check.rs: new set and unit test..github/workflows/pr-check.yml: new step for the set.tools/ci/pr_check_test.rs: requires the step, the platform flags and//android/....The set runs on every PR instead of only on changes under
android/,core/platforms/orcc/. A path check needsgit, which//tools/ci:host_program_testdoes not allow the tool to start by name.Tested:
//tools/ci:host_program_test,//tools/ci:workflow_files_test,//tools/ci/producers:producers_bin_testand//tools/ci:actionlint_testpassed. On main, the set's command analyzed 177 targets with no errors.tools/dx check --applyon the touched files was clean.🤖 Generated with Claude Code