From 9a89fcccae4a7e17d91713a41fd729b44b0592a4 Mon Sep 17 00:00:00 2001 From: CherretGit <53180941+CherretGit@users.noreply.github.com> Date: Thu, 9 Oct 2025 22:38:50 +0700 Subject: [PATCH 1/6] Update workflow.yml --- .github/workflows/workflow.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index ccbca68..00f79f9 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -37,6 +37,16 @@ jobs: - name: Set up Android SDK uses: android-actions/setup-android@v2 + - name: Install toolchain + run: | + rustup default stable + rustup update stable + cargo install cargo-ndk + rustup target add armv7-linux-androideabi + rustup target install aarch64-linux-android + rustup target add i686-linux-android + rustup target add aarch64-linux-android + - name: Build APK run: ./gradlew assembleRelease From 8cfe6f43890a11db97d6378a27d520e10aa73da3 Mon Sep 17 00:00:00 2001 From: CherretGit <53180941+CherretGit@users.noreply.github.com> Date: Thu, 9 Oct 2025 22:39:42 +0700 Subject: [PATCH 2/6] Update workflow.yml --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 00f79f9..de98428 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -45,7 +45,7 @@ jobs: rustup target add armv7-linux-androideabi rustup target install aarch64-linux-android rustup target add i686-linux-android - rustup target add aarch64-linux-android + rustup target add x86_64-linux-android - name: Build APK run: ./gradlew assembleRelease From 73cbd89390d20f206d634418c974c6cf194350cb Mon Sep 17 00:00:00 2001 From: CherretGit <53180941+CherretGit@users.noreply.github.com> Date: Thu, 9 Oct 2025 22:49:55 +0700 Subject: [PATCH 3/6] Update workflow.yml --- .github/workflows/workflow.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index de98428..23e0197 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -37,6 +37,11 @@ jobs: - name: Set up Android SDK uses: android-actions/setup-android@v2 + - name: Setup NDK + uses: nttld/setup-ndk@v1 + with: + ndk-version: "r27d" + - name: Install toolchain run: | rustup default stable From abb3a8e4e44388da6f89f5cbca858821f625609a Mon Sep 17 00:00:00 2001 From: CherretGit <53180941+CherretGit@users.noreply.github.com> Date: Thu, 9 Oct 2025 22:57:43 +0700 Subject: [PATCH 4/6] Update workflow.yml --- .github/workflows/workflow.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 23e0197..112e307 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -40,7 +40,9 @@ jobs: - name: Setup NDK uses: nttld/setup-ndk@v1 with: - ndk-version: "r27d" + ndk-version: r27d + link-to-sdk: true + local-cache: true - name: Install toolchain run: | From 3ac0ca73e134c6e2b5d37d8df79617c214113d57 Mon Sep 17 00:00:00 2001 From: CherretGit <53180941+CherretGit@users.noreply.github.com> Date: Thu, 9 Oct 2025 23:07:12 +0700 Subject: [PATCH 5/6] Update workflow.yml --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 112e307..60f527d 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -38,7 +38,7 @@ jobs: uses: android-actions/setup-android@v2 - name: Setup NDK - uses: nttld/setup-ndk@v1 + uses: nttld/setup-ndk@v1.5.0 with: ndk-version: r27d link-to-sdk: true From 7c2fba684d4712489c0e3afc16e17cd76ba3a7f4 Mon Sep 17 00:00:00 2001 From: CherretGit <53180941+CherretGit@users.noreply.github.com> Date: Thu, 9 Oct 2025 23:19:20 +0700 Subject: [PATCH 6/6] Update workflow.yml --- .github/workflows/workflow.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 60f527d..2c2f823 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -38,11 +38,7 @@ jobs: uses: android-actions/setup-android@v2 - name: Setup NDK - uses: nttld/setup-ndk@v1.5.0 - with: - ndk-version: r27d - link-to-sdk: true - local-cache: true + run: sdkmanager "ndk;27.0.12077973" "cmake;3.22.1" - name: Install toolchain run: |