mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user