Skip to content

Commit

Permalink
Update build.yml 2
Browse files Browse the repository at this point in the history
  • Loading branch information
oluiscabral committed Nov 1, 2024
1 parent 6a63870 commit 6851e03
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install required global dependencies
- name: Set up required global dependencies
run: |
sudo apt-get update
sudo apt-get install libssl-dev
echo "OPENSSL_DIR=/usr/include/openssl" >> $GITHUB_ENV
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -70,10 +71,10 @@ jobs:
toolchain: stable
targets: aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android

- name: Build fs-storage
- name: Build fs-storage JNI libs
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
- name: Upload fs-storage JNI libs
uses: actions/upload-artifact@v4
with:
name: fs-storage-jni-libs
Expand Down

0 comments on commit 6851e03

Please sign in to comment.