This commit is contained in:
@@ -59,6 +59,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: 1.25.x
|
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
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "20"
|
node-version: "20"
|
||||||
@@ -93,9 +98,13 @@ jobs:
|
|||||||
yes | sdkmanager --channel=3 --install \
|
yes | sdkmanager --channel=3 --install \
|
||||||
"platforms;android-24" \
|
"platforms;android-24" \
|
||||||
"platforms;android-$android_platform" \
|
"platforms;android-$android_platform" \
|
||||||
|
"build-tools;36.0.0" \
|
||||||
|
"cmake;3.22.1" \
|
||||||
"ndk;$ndk_version" || test "${PIPESTATUS[1]}" -eq 0
|
"ndk;$ndk_version" || test "${PIPESTATUS[1]}" -eq 0
|
||||||
test -f "$ANDROID_HOME/platforms/android-24/android.jar"
|
test -f "$ANDROID_HOME/platforms/android-24/android.jar"
|
||||||
test -f "$ANDROID_HOME/platforms/android-$android_platform/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"
|
test -f "$ANDROID_HOME/ndk/$ndk_version/source.properties"
|
||||||
{
|
{
|
||||||
echo "ANDROID_NDK_HOME=$ANDROID_HOME/ndk/$ndk_version"
|
echo "ANDROID_NDK_HOME=$ANDROID_HOME/ndk/$ndk_version"
|
||||||
@@ -130,7 +139,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SING_BOX_SOURCE: ${{ runner.temp }}/sing-box
|
SING_BOX_SOURCE: ${{ runner.temp }}/sing-box
|
||||||
IPTPROXY_SOURCE: ${{ runner.temp }}/IPtProxy
|
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
|
- name: Build and verify Pixel 10 APK
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user