From 26eeba5616c099ca3d92e150bc91dd813e798a1f Mon Sep 17 00:00:00 2001 From: 0xAhmad Date: Fri, 25 Oct 2024 05:21:17 +0300 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3dc27cc..4a950b9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,16 +23,18 @@ jobs: ANDROID_NDK_VERSION: "25.1.8937393" ANDROID_API_LEVEL: 21 # Minimum API level for supported architectures - strategy: - matrix: - target: - - aarch64-linux-android # 64-bit ARM - - armv7-linux-androideabi # 32-bit ARM - - i686-linux-android # 32-bit x86 - - x86_64-linux-android # 64-bit x86 - - arm-linux-androideabi # 32-bit ARM (older ABI) - - thumbv7neon-linux-androideabi # 32-bit ARM with NEON + strategy: + matrix: + target: + - aarch64-linux-android # 64-bit ARM + - armv7-linux-androideabi # 32-bit ARM + - i686-linux-android # 32-bit x86 + - x86_64-linux-android # 64-bit x86 + - arm-linux-androideabi # 32-bit ARM (older ABI) + - thumbv7neon-linux-androideabi # 32-bit ARM with NEON + name: ${{ matrix.target }} + steps: - name: Checkout repository uses: actions/checkout@v3 @@ -58,5 +60,6 @@ jobs: - name: Build ${{ matrix.target }} run: cargo build --target ${{ matrix.target }} --verbose + - name: Test ${{ matrix.target }} run: cargo test --target ${{ matrix target }} --verbose