Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
flaribbit committed Oct 17, 2023
1 parent 2eaaadc commit 97dbb93
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ jobs:
- uses: actions/checkout@v3
- name: setup cargo-ndk
run: |
cargo install cargo-ndk
rustup target add aarch64-linux-android armv7-linux-androideabi
rustup target add aarch64-linux-android
- name: Build
run: |
export VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT
export NDK_HOME=$ANDROID_NDK_PATH
cargo ndk --platform 21 --target aarch64-linux-android build --release --all-features
export PKG_CONFIG_SYSROOT_DIR=$NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/sysroot
cargo build --release --all-features --target aarch64-linux-android

0 comments on commit 97dbb93

Please sign in to comment.