Skip to content

Commit

Permalink
Build and upload fs-storage
Browse files Browse the repository at this point in the history
  • Loading branch information
oluiscabral committed Oct 31, 2024
1 parent a300299 commit b5cd514
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,25 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Release fs-storage NDK binaries
- name: Install cargo-ndk
run: cargo install cargo-ndk

- name: Add Rust Toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android

- name: Build fs-storage
run: cargo ndk -o ./target/release/fs-storage/jniLibs --target aarch64-linux-android --target armv7-linux-androideabi --target i686-linux-android --target x86_64-linux-android build -p fs-storage --release

- name: Upload fs-storage
uses: actions/upload-artifact@v4
with:
name: fs-storage
path: ./target/release/fs-storage/jniLibs

windows:
name: Test on Windows
runs-on: windows-latest
Expand Down

0 comments on commit b5cd514

Please sign in to comment.