Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
ANDROID_NDK_ROOT: /opt/android-ndk-r28
run: |
cd src/serai/hrf
sed -i 's/\[dependencies\]/[dependencies]\nopenssl = { version = "<=0.10.78", features = ["vendored"] }/' Cargo.toml
sed -i 's/\[dependencies\]/[dependencies]\nopenssl = { version = "<=0.10.78", features = ["vendored"] }\nopenssl-sys = "<=0.9.114"/' Cargo.toml
cargo +1.71.0 ndk --target ${{ matrix.target }} --platform 21 build --release
cp ../target/${{ matrix.target }}/release/libhrf_api.so \
../../../frostdart-android-${{ matrix.abi }}.so
Expand Down
3 changes: 2 additions & 1 deletion scripts/android/build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ cd build/serai/hrf || exit

# inject vendored openssl required for android cross compilation
sed -i "s/\[dependencies\]/\[dependencies\]\\
openssl = { version = \"<=0.10.78\", features = [\"vendored\"] }/" Cargo.toml
openssl = { version = \"<=0.10.78\", features = [\"vendored\"] }\\
openssl-sys = \"<=0.9.114\"/" Cargo.toml

rustup target add aarch64-linux-android armv7-linux-androideabi x86_64-linux-android
cargo ndk \
Expand Down
Loading