Add build for Android (#814)

This commit is contained in:
Ajeet D'Souza 2024-05-11 18:01:57 +05:30 committed by GitHub
parent ae33940331
commit 796fee720e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,8 @@ jobs:
- os: ubuntu-latest
target: aarch64-unknown-linux-musl
deb: true
- os: ubuntu-latest
target: aarch64-linux-android
- os: macos-11
target: x86_64-apple-darwin
- os: macos-11
@ -54,6 +56,12 @@ jobs:
uses: Swatinem/rust-cache@v2.7.3
with:
key: ${{ matrix.target }}
- name: Install cross
if: ${{ runner.os == 'Linux' }}
uses: actions-rs/cargo@v1
with:
command: install
args: --color=always --git=https://github.com/cross-rs/cross.git --locked --rev=02bf930e0cb0c6f1beffece0788f3932ecb2c7eb --verbose cross
- name: Build binary
uses: actions-rs/cargo@v1
with: