From 50241e5566a53d89e2391a2b53ed950223af7260 Mon Sep 17 00:00:00 2001 From: Min Deng Date: Mon, 7 Oct 2024 10:24:40 +0800 Subject: [PATCH 1/2] Update rust.yml - build for 32-bit target - run tests for all features --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7b23e9e..07c57ea 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,5 +18,9 @@ jobs: - uses: actions/checkout@v3 - name: Build run: cargo build --verbose + - name: Build for 32-bit target + run: cargo build --target armv7-linux-androideabi --verbose - name: Run tests run: cargo test --verbose -- --nocapture + - name: Run tests for all features + run: cargo test --all-features --verbose -- --nocapture From 2080fe7337bf75b7cc29cf74f5917f90331e6a21 Mon Sep 17 00:00:00 2001 From: Min Deng Date: Mon, 7 Oct 2024 10:54:46 +0800 Subject: [PATCH 2/2] chore: add android targets in workflows --- .github/workflows/rust.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 07c57ea..e8cf8de 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,6 +18,8 @@ jobs: - uses: actions/checkout@v3 - name: Build run: cargo build --verbose + - name: Add Android targets + run: rustup target add armv7-linux-androideabi - name: Build for 32-bit target run: cargo build --target armv7-linux-androideabi --verbose - name: Run tests