Skip to content

Commit

Permalink
build for Android using Rust 1.67
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
  • Loading branch information
andrewwhitehead committed Jan 10, 2024
1 parent f93174e commit 5ba377d
Show file tree
Hide file tree
Showing 2 changed files with 1,085 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ jobs:
i686-linux-android,
x86_64-linux-android,
]
# NB: RUST_VERSION must be <1.68 here to support NDK 17
env:
RUST_VERSION: "1.67"

steps:
- name: Checkout
Expand All @@ -358,6 +361,7 @@ jobs:
- name: Build
run: |
cargo install --locked --git https://github.com/cross-rs/cross --tag v${{ env.CROSS_VERSION }} cross
cp Cargo.lock.android Cargo.lock
cross build --release --target ${{ matrix.target }} --features=vendored
- name: Upload artifacts
Expand Down
Loading

0 comments on commit 5ba377d

Please sign in to comment.