From 725faa36a134a15accdaaf1751b1fa5f39b32ecd Mon Sep 17 00:00:00 2001 From: Lassi Immonen Date: Wed, 10 Apr 2024 16:18:20 +0300 Subject: [PATCH] Switch cargo apk to ndk, use platform 31 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8d5f74..852cc54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,9 +68,9 @@ jobs: rust-version: ${{ matrix.toolchain.rust }} targets: ${{ matrix.platform.target }} - - name: Install cargo-apk + - name: Install cargo-ndk if: contains(matrix.platform.target, 'android') - run: cargo install cargo-apk + run: cargo install cargo-ndk - name: Build if: contains(matrix.platform.target, 'android') == false @@ -78,7 +78,7 @@ jobs: - name: Build android if: contains(matrix.platform.target, 'android') - run: cargo apk build --target ${{ matrix.platform.target }} --all-features + run: cargo ndk --target ${{ matrix.platform.target }} --platform 31 -- build --all-features - name: Rust tests if: matrix.platform.cross == false