Skip to content

Commit

Permalink
feat: add x86_64-linux-android
Browse files Browse the repository at this point in the history
  • Loading branch information
vivianjeng committed Jan 31, 2025
1 parent 5827cf9 commit 8f4bedd
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,26 @@ jobs:
targets: ${{ matrix.target }}
- name: Build
run: cargo build --target ${{ matrix.target }}
build-android:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
strategy:
matrix:
target:
- x86_64-linux-android
- aarch64-linux-android
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.81.0"
targets: ${{ matrix.target }}
- name: Install Android NDK
run: cargo install cargo-ndk
- name: Build
run: cargo ndk -t ${{ matrix.target }} build
test-linux:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
Expand Down
Binary file added rapidsnark/x86_64-linux-android/libfq.a
Binary file not shown.
Binary file added rapidsnark/x86_64-linux-android/libfr.a
Binary file not shown.
Binary file added rapidsnark/x86_64-linux-android/libgmp.a
Binary file not shown.
Binary file not shown.
Binary file added rapidsnark/x86_64-linux-android/librapidsnark.a
Binary file not shown.
Binary file added rapidsnark/x86_64-linux-android/librapidsnark.so
Binary file not shown.

0 comments on commit 8f4bedd

Please sign in to comment.