Skip to content

Commit

Permalink
Cross Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinosh committed Jul 10, 2024
1 parent 9a0e13e commit 89d0724
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# command: build
- release_for: Android-ax86_64
os: ubuntu-20.04
target: ax86_64-linux-android
target: x86_64-linux-android
bin: ark-core
name: ark-core-Android-ax86_64.zip
command: build
Expand All @@ -40,14 +40,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
command: ${{ matrix.platform.command }} -p drop_core
target: ${{ matrix.platform.target }}
args: '--locked --release'
strip: true

- name: Rust cache
uses: swatinem/rust-cache@v2
- name: Add Cross
run: cargo install cross
- name: Build Core Library
run: cross ${{ matrix.platform.command }} -p drop_core --target ${{ matrix.platform.target }}
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Generate Bindings
run: cargo run -p uniffi-bingen generate --library target/x86_64-linux-android/debug/libdrop_core.so --language=kotlin --out-dir ./bindings

Expand Down

0 comments on commit 89d0724

Please sign in to comment.