fix(ci): install Rust Android toolchain
Pixel 10 APK / build (push) Failing after 26m16s

This commit is contained in:
Codex
2026-08-09 21:27:47 +02:00
parent 9d1d60d170
commit 2f51f3e0a2
+12 -1
View File
@@ -59,6 +59,11 @@ jobs:
with:
go-version: 1.25.x
- name: Set up Rust Android toolchain
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-linux-android
- uses: actions/setup-node@v4
with:
node-version: "20"
@@ -93,9 +98,13 @@ jobs:
yes | sdkmanager --channel=3 --install \
"platforms;android-24" \
"platforms;android-$android_platform" \
"build-tools;36.0.0" \
"cmake;3.22.1" \
"ndk;$ndk_version" || test "${PIPESTATUS[1]}" -eq 0
test -f "$ANDROID_HOME/platforms/android-24/android.jar"
test -f "$ANDROID_HOME/platforms/android-$android_platform/android.jar"
test -f "$ANDROID_HOME/build-tools/36.0.0/aapt2"
test -x "$ANDROID_HOME/cmake/3.22.1/bin/cmake"
test -f "$ANDROID_HOME/ndk/$ndk_version/source.properties"
{
echo "ANDROID_NDK_HOME=$ANDROID_HOME/ndk/$ndk_version"
@@ -130,7 +139,9 @@ jobs:
env:
SING_BOX_SOURCE: ${{ runner.temp }}/sing-box
IPTPROXY_SOURCE: ${{ runner.temp }}/IPtProxy
run: melos run build-go-runtime --no-select
# Go writes verbose compiler progress to stderr. Gitea's act runner
# otherwise labels every one of those harmless lines as "ERROR".
run: melos run build-go-runtime --no-select 2>&1
- name: Build and verify Pixel 10 APK
env: