This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user