CI: install the Rust Android target for the librashader cargo build

The Android APK job fails (also on master - the job is
continue-on-error so it never blocked) because librashader's cargo
build targets aarch64-linux-android and the runner's rustup only has
the host std: error[E0463] can't find crate for 'core'. One rustup
target add before the gradle build fixes it. Candidate to send
upstream to master independently of this branch.
This commit is contained in:
Brian Degenhardt
2026-07-19 13:11:01 -07:00
parent f7a039e870
commit 10fab243e7
+6
View File
@@ -139,6 +139,12 @@ jobs:
- name: Fetch shaderc third-party deps
run: python3 app/src/main/cpp/3rdparty/shaderc/utils/git-sync-deps
# librashader is built by cargo for the Android target; the runner's
# rustup only ships the host std, so the cargo step dies with
# "error[E0463]: can't find crate for `core`" without this.
- name: Install Rust Android target
run: rustup target add aarch64-linux-android
- name: Build release APK
run: ./gradlew :app:assembleRelease --stacktrace